![]() ![]() # PAM authentication via ChallengeResponseAuthentication may bypass # be allowed through the ChallengeResponseAuthentication and If this is enabled, PAM authentication will # Set this to 'yes' to enable PAM authentication, account processing, Subsystem sftp /usr/lib/openssh/sftp-server # Allow client to pass locale environment variables # Change to no to disable tunnelled clear text passwords # Change to yes to enable challenge-response passwords (beware issues with # To enable empty passwords, change to yes (NOT RECOMMENDED) # Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication # For this to work you will also need host keys in /etc/ssh_known_hosts # Don't read the user's ~/.rhosts and ~/.shosts files #AuthorizedKeysFile %h/.ssh/authorized_keys # Lifetime and size of ephemeral version 1 server key #Privilege Separation is turned on for security # Use these options to restrict which interfaces/protocols sshd will bind to # What ports, IPs and protocols we listen for # See the sshd_config(5) manpage for details This is my sshd_config file, if that helps: # Package generated configuration file For some reason, I can SSH into this server using localhost:2222 just fine, but when I try to SFTP in with WinSCP also at localhost:2222 I get a "connection refused" error. I have forwarded port 8888 on the host to 80 on the guest, and 2222 on the host to 22 on the guest. ![]() I have a Ubuntu 10.10 server running in VirtualBox with OpenSSH installed. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |