6 reputation
1
bio website
location
age
visits member for 1 year, 10 months
seen Feb 4 '13 at 16:35

Feb
5
awarded  Student
Feb
4
comment Session terminates immediately after authentication
I've found a solution! On my /etc/ssh/sshd_config I had the followin code: Match user xpto ChrootDirectory /path/folder/xpto ForceCommand internal-sftp AllowTcpForwarding no X11Forwarding no PubkeyAuthentication yes The authentication was failing because the sshd user don't have permission to acess that folder. Thanks for your help GAR
Feb
4
comment Session terminates immediately after authentication
I've deleted the user account and its home directory. All regular users have been created with the useradd comand. The user uses the bash shell.
Feb
4
comment Session terminates immediately after authentication
On PuTTy it gets logged out inmediately. On WinSCP it gets a "authentication failed" message.
Feb
4
asked Session terminates immediately after authentication