[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ssh/scp and the change of remote shell



I have a few ssh/scp based problems:

1. I cannot ssh/scp to a remote machine, if the user has an shell that does not
   allow interactive login (like if he/she has /bin/false for the shell), that
   is ok for ssh, but scp should still work right? sftp does not work either.
   Is there a way to make it work, I am most interested in making scp work?

2. If the user has something echoed in his/her login scripts like in ~/.bashrc  
   a line echo "lalala", he/she is able to login via ssh, but is not able to do
   scp. The line lalala is displayed, but than the program stops and the
   transfer is not made. Is there a way around this?

I am using openssh OpenSSH_2.9p2 (from the package ssh 2.9p2-5).

THX in advance!

Bostjan
-- 
[*] Boštjan Müller - neonatus@neonatus.net - http://neonatus.net/~neonatus [*]
[*]      PGP key -> finger: neonatus@neonatus.net, RSA id: 0x90178DBD      [*]
[*] Celular: +386(0)41243189, Powered by Debian GNU/LiNUX - ICQ #:7506644  [*]
		One tequila, two tequila, three tequila, floor



Reply to: