Our forums are currently in maintenance mode and the ability to post is disabled. We will be back up and running as soon as possible. Thanks for your patience!

General discussion


Silly ssh question

By nitinkgoud ·
Hi Guys,
I have a problem with ssh.
I installed the requires open ssh packages on the server( refered some docs on the net).
Do i need to install anything on the client.
Now i need to figure out what to do next
This is what i think i need to do add user.

Login as root on the server.
1) ssh-keygen -b 1024 -t rsa -f /etc/ -N " "

Login to root as the user.
2)ssh_keygen -b 1024 -t rsa
Enter the phrase

Basically this create 2 files in dir /home/<user_name>/.ssh. Copy as authorised_keys.

Copy this 3 files to the client machine in user directory

Login to client as root.
3) ssh-agent $SHELL
4)ssh-add <pahrase>

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

by nitinkgoud In reply to Silly ssh question

Point value changed by question poster.

Collapse -

by abc098 In reply to Silly ssh question

You are doing steps that mostly done for login automatically to the SSH server.

If you are accessing the SSH server from Linux, just use the ssh command. Example:-
# ssh -2 -l username sshserver
"-2" is protocol number 2.

If you are accessing the SSH server from Windows, download putty at
You can also use WinSCP to upload/download files from/to your SSH server.

Not advisable to autologin as root to the SSH server. Can open up a security hole.

The easiest way for a beginner is not using public/private key at all.

Related Discussions

Related Forums