sftp

hi

sftp is not working:

-bash-3.00# sftp zeus
Connecting to zeus...
/etc/ssh/ssh_config: line 32: Bad configuration option: PermitRootLogin
/etc/ssh/ssh_config: line 33: Bad configuration option: Subsystem
/etc/ssh/ssh_config: terminating, 2 bad configuration options
Connection closed

I added these 2 lines to /etc/ssh/ssh_config:

PermitRootLogin yes
Subsystem sftp /usr/lib/ssh/sftp-server

any idea?

Hi Melanie:

You want to add these lines to /etc/ssh/sshd_config instead of /etc/ssh/ssh_config since you want to control the activity of the sshd daemon. Be sure to stop/restart the sshd daemon on the machine that is serving up sftp after you have saved your changes (/etc/init.d/sshd restart). You should then be able to log in on your client machine. Best of luck!!