Topic: Putty problems !

Hi my english is not that good so pleas apologies !

ok i have installed mysecure shell
made an update and entered the links in source list

so i guess have the newest version !

so its working fine i have whit ftp acess to the home files and im prisoned in the home direktory !

i can login whit win scp and im prisoned in the home direktory !

but if i wanna start putty the window is just gone and if i start command or terminal for executing i get one error   !

Connection has been unexpectedly closed. Server sent command exit status 1.


So my question whats wrong u have any ideas u need any informations configs or some thing else : )


static:~# sftp-verif
#################################################
#       MySecureShell Verification Tool         #
#################################################


** Verifing file existance **

Verifing file existance of /bin/MySecureShell                   [ OK ]
Verifing file existance of /usr/bin/sftp-who                    [ OK ]
Verifing file existance of /usr/bin/sftp-kill                   [ OK ]
Verifing file existance of /usr/bin/sftp-state                  [ OK ]
Verifing file existance of /usr/bin/sftp-admin                  [ OK ]
Verifing file existance of /usr/bin/sftp-verif                  [ OK ]
Verifing file existance of /usr/bin/sftp-user                   [ OK ]
Verifing file existance of /etc/ssh/sftp_config                 [ OK ]

** Verifing rights **

Verifing file rights of /etc/ssh/sftp_config                    [ OK ]
Verifing file rights of /usr/bin/sftp-who                       [ OK ]
Verifing file rights of /usr/bin/sftp-verif                     [ OK ]
Verifing file rights of /usr/bin/sftp-user                      [ OK ]
Verifing file rights of /usr/bin/sftp-kill                      [ OK ]
Verifing file rights of /usr/bin/sftp-state                     [ OK ]
Verifing file rights of /usr/bin/sftp-admin                     [ OK ]
Verifing file rights of /bin/MySecureShell                      [ OK ]


** Verifing rotation logs **

MySecureShell rotation logs                                     [ OK ]


** Verifing server status **

Verifing server status (ONLINE)                                 [ OK ]


** Verifing server dependencies **
Show only error(s):


** All tests dones **

thanks for anwsers!

Re: Putty problems !

By default MySecureShell refuse shell connection (so it's your "problem" for putty).

But you can give shell access to user. Sample:

#Here myUserSSH can log with putty (shell access)
<User myUserSSH>
   Shell /bin/bash
</User>

Re: Putty problems !

Hi thx now it works but whit putty i get in all files so iam not jailed any more smile
But maby you have an anwser of this question aswell : )

Because he need the console alla putty to start the server !

But i dont like to see him the rest of home smile

Thx for the fast anwser before : )

Re: Putty problems !

Yes, shell access is not restricted so it's dangerous for your privacy wink

Re: Putty problems !

Hm and there is no way ?

Re: Putty problems !

I don't know but with a little search, i've found this:
- http://www.faqs.org/docs/bashman/bashref_75.html
- http://www.pizzashack.org/rssh/