Welcome to HBH! If you had an account on hellboundhacker.org you will need to reset your password using the Lost Password system before you will be able to login.

Linux BackTrack 2 SSH install


ghost's Avatar
0 0

Hello, can someone please help me with this?

So far I have been using OpenSSH the things I have tried so far:

-type: ssh-keygen
 -accept path: /root/.ssh/id_rsa

-Move id_rsa.pub TO authorized_keys

-type: ssh-add
 -Response: Could not open a connection to your authentication agent.

-type: ssh-agent
 -Response: SSH_AUTH_SOCK=/tmp/ssh-zYikU21374/agent.21374; export SSH_AUTH_SOCK;
SSH_AGENT_PID=21375; export SSH_AGENT_PID;
echo Agent pid 21375;

-type: ssh-keyscan
 -Response: usage: ssh-keyscan [-46Hv] [-f file] [-p port] [-T timeout] [-t type]
                   [host | addrlist namelist] [...]

-type ssh mydomain.com
 -Response: ssh: connect to host masta-hacks.homelinux.com port 22: Connection refused

If anyone has any ideas please let me know.

Note: What I posted is the order I did everything*


ghost's Avatar
0 0

I replied to your post on the new challenges thread. But here it is again since this is the right place to post it.

In order to get the listener to start up on boot.. you need to set the executable bit on the script you want to start in etc/rc.d

You would have to use something like:

chmod +x /etc/rc.d/rc.sshd

Good luck man.