Kevin, You don't need to worry about generating keys unless you want to connect without having to type passwords.
Login as root and run the following command on your server: # find / -name sftp-server It should come back and tell you what directory the program that runs the sftp service is located in. First, make sure it really does exist on your system, and that it really is in '/usr/libexec/ssh/sftp-server' where the sshd_config file expects it. If it is there, double-check the file permissions to make sure they are correct. If that all checks out, I would stop and restart the sshd daemon using chkconfig as Brian suggested. If it refuses to work after that, I would try to rebuild/reinstall. Good luck! Paul -----Original Message----- From: Kevin Davis [mailto:[EMAIL PROTECTED] Sent: Monday, January 31, 2005 3:35 PM To: 'Brian Wilson' Cc: [email protected] Subject: RE: new install TSL 2.2: where's SFTP? Brian, Thanks for your help. I've double-checked my sshd_config and the last line is not commented, it reads: Subsystem sftp /usr/libexec/ssh/sftp-server I didn't have to uncomment this line as it seems to have been uncommented by default. I've made NO changes to sshd_config myself from the swup install of the openssh packages. I already had sshd running and set to run on each startup, but repeated those steps you listed for good measure. However if I run "sftp localhost" as you suggested, I get the message that the command is not found - confirming that it is for some reason NOT autorunning with sshd as it is expected to. Any other ideas? I haven't tried key generation or anything like that yet... I was rather hoping the default install would just let it work for a semi-newbie such as I... -K -----Original Message----- From: Brian Wilson [mailto:[EMAIL PROTECTED] Sent: Monday, January 31, 2005 4:23 PM To: Trustix Linux discussion list Cc: Kevin Davis Subject: Re: new install TSL 2.2: where's SFTP? > I'm trying to use WinSCP to administer my new install of TSL 2.2. I > installed the OpenSSH packages and can use PuTTY, and can browse using SCP, > but SFTP doesn't seem to be running- nor do I know how to start it. If you have the last line uncommented and you have restarted sshd you should be there already. 'sshd' should be running by default but just in case chkconfig sshd on service sshd restart The first command activates sshd on reboot the second one activates it right now. There is a command line sftp on your TSL system so that is the first line. So from the console on your TSL system you should be able to do sftp localhost and get a connection to the server. Use your username and password and do the usual ftp thing to see if you are there -- I use 'ls' and 'cd' commands. If this works you know the problem lies elsewhere... Brian _______________________________________________ tsl-discuss mailing list [email protected] http://lists.trustix.org/mailman/listinfo/tsl-discuss _______________________________________________ tsl-discuss mailing list [email protected] http://lists.trustix.org/mailman/listinfo/tsl-discuss
