Unix Administration
Tuesday, January 22, 2008
 
SFTP configuration
Its same procedure as we discussed in ssh.

1.Generate the key first
$ ssh-keygen -trsa
it will be create and stored in .ssh directory

2.copy the key to destination host.
$ ls -a
. .. authorized_keys id_rsa id_rsa.pub known_hosts
Here u need to copy the id_rsa.pub to destination host.

$ scp id_rsa.pub ram@172.1.00.00:~/.ssh/authorized_keys
ram@172.1.00.00's password:
id_rsa.pub 100% |*****************************| 233 00:00

3.do sftp to which host u need to do
$ sftp 172.1.00.00
Connecting to 172.1.00.00...
sftp>
You can do ftp with scure way now.
 
Comments: Post a Comment

Subscribe to Post Comments [Atom]





<< Home

Name:

5 Words to sum up - Internet, Photography,Reading,Friends, Technology

Archives
January 2008 / June 2008 / September 2008 / November 2008 / January 2009 /


Powered by Blogger

Subscribe to
Posts [Atom]