Follow us on Twitter!
Hacking isn't just Computers & Exploits. It's a Philosophy. - Mr_Cheese
Sunday, April 20, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 33
Guests Online: 29
Members Online: 4

Registered Members: 82848
Newest Member: aIjundi
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.