Follow us on Twitter!
The measure of a mans life is not how well he dies, but how well he lives.
Thursday, August 25, 2016
Navigation
Home
 Find:
 Information:
Learn
Communicate
Submit
Shop
Challenges
 Exploit:
 Programming:
 Think:
 Track:
 Patch:
 Other:
 Need Help?
Other
Members Online
Total Online: 34
Guests Online: 32
Members Online: 2

Registered Members: 95216
Newest Member: Egyptian_Hacker
Latest Articles
View Thread

HellBound Hackers | Computer General | OS specific

Author

Linux BackTrack 2 SSH install


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 16-11-07 09:08
Hello, can someone please help me with this?

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

Code

-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*
Author

RE: Linux BackTrack 2 SSH install


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 16-11-07 10:52
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.