Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › SFTP in Debian After Upgrade
New Posts  All Forums:Forum Nav:

SFTP in Debian After Upgrade

post #1 of 2
Thread Starter 
I finally got around to upgrading my VPS to Debian 6.
Seemed to go okay, normal services came back.

Then, I tried to point WinSCP at the OpenSSH service. It's always worked fine in the past on Debian 5. Now I'm being told "Cannot initialize SFTP protocol".

I looked in the sshd_config and the handler for SFTP seems to be installed but I'm not exactly super experienced in Linux to know an easy fix (or even what's available if were to set up a standalone SFTP implementation on another port). Doing a tail of auth.log indicates
Quote:
Feb 22 22:29:53 hyperport sshd[5050]: Accepted publickey for beers from 123.123.123.123 port 50108 ssh2
Feb 22 22:29:53 hyperport sshd[5050]: pam_unix(sshd:session): session opened for user by (uid=0)
Feb 22 22:29:53 hyperport sshd[5055]: subsystem request for sftp
Feb 22 22:29:53 hyperport sshd[5050]: pam_unix(sshd:session): session closed for user

Any thoughts?
Waiting on X399
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II B57 @ X4 3.9 Gigabyte 790FXTA-UD5 Sapphire Radeon 290 8 GB G.Skill 2133 
Hard DriveCoolingOSKeyboard
250 GB 840 EVO Noctua NH-D14 Windows 10 Logitech K350 
PowerCaseMouseMouse Pad
Seasonic x750 Corsair 600T Logitech G100s Razer Goliathus Speed 
Audio
Plantronics Gamecom 788 
  hide details  
Reply
Waiting on X399
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II B57 @ X4 3.9 Gigabyte 790FXTA-UD5 Sapphire Radeon 290 8 GB G.Skill 2133 
Hard DriveCoolingOSKeyboard
250 GB 840 EVO Noctua NH-D14 Windows 10 Logitech K350 
PowerCaseMouseMouse Pad
Seasonic x750 Corsair 600T Logitech G100s Razer Goliathus Speed 
Audio
Plantronics Gamecom 788 
  hide details  
Reply
post #2 of 2
Thread Starter 
Fixed.

Had to change line near the bottom of /etc/ssh/sshd_config to :

Subsystem sftp internal-sftp
Waiting on X399
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II B57 @ X4 3.9 Gigabyte 790FXTA-UD5 Sapphire Radeon 290 8 GB G.Skill 2133 
Hard DriveCoolingOSKeyboard
250 GB 840 EVO Noctua NH-D14 Windows 10 Logitech K350 
PowerCaseMouseMouse Pad
Seasonic x750 Corsair 600T Logitech G100s Razer Goliathus Speed 
Audio
Plantronics Gamecom 788 
  hide details  
Reply
Waiting on X399
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II B57 @ X4 3.9 Gigabyte 790FXTA-UD5 Sapphire Radeon 290 8 GB G.Skill 2133 
Hard DriveCoolingOSKeyboard
250 GB 840 EVO Noctua NH-D14 Windows 10 Logitech K350 
PowerCaseMouseMouse Pad
Seasonic x750 Corsair 600T Logitech G100s Razer Goliathus Speed 
Audio
Plantronics Gamecom 788 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › SFTP in Debian After Upgrade