Ubuntu sftp setting

Posted On November 13, 2008

Filed under Ubuntu
Tags: ,

Comments Dropped leave a response

1. #sudo aptitude install ssh
2. edit /etc/ssh/sshd_config

Login with Nautilus
1. select “connect to a server”
2. select “ssh”, and fill each boxes.
3. Input password.

Caution: It is better to use RSA key.
1. #ssh-keygen -t rsa
2. input some-phrases.
3. #scp .ssh/id_rsa.pub servername:/~
4. with a server machine,
#mkdir .ssh
#cat id_rsa.pub >> .ssh/authorized_keys

then you can login to the server without inputting passwords.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s