need help with ssh
Could anyone direct me to a ssh HOWTO/Tutorial so that i can get it up and running. I use ftp to access my files remotely but i heard that ssh or telnet are better as I can do more with them.
thanks :Pengy: |
I get these error messages when i try to run my ssh server
Could not load host key: /etc/ssh/ssh_host_key Could not load host key: /etc/ssh/ssh_host_rsa_key Could not load host key: /etc/ssh/ssh_host_dsa_key Disabling protocol version 1. Could not load host key Disabling protocol version 2. Could not load host key sshd: no hostkeys available -- exiting. |
You seem to have a bit of a misunderstanding about the different protocols. FTP is a file transfer protocol, TELNET is an interactive communications protocol (and doesn't provide a mechanism for transfering files), SSH is a secure shell protocol used for secure authentication. SSH is the one you want to use as the others transfer everything in plain ascii text, including passwords. SSH uses secure encryption in all of its communications. You will need to use scp or sftp to actually transfer files, while ssh allows you to connect to other machines in a manner that, on the surface, is similar to telnet.
I'm not sure if MDK comes with documentation (online or otherwise), but openssh has the very basics in its source package in the INSTALL file. Read the man pages on ssh, ssh-keygen, and sshd. Typically, you want to set up your host keys with ssh-keygen just once, using syntax like: Code:
/usr/bin/ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_key -N '' |
thanks, those key commands worked perfect. Now another question..I need to install sftp or keep running my existing ftp server in order to actually download files..right?
|
All times are GMT -5. The time now is 01:01 AM. |