replacing /bin/bash with my login shell
Darren Tucker
dtucker at dtucker.net
Wed Dec 20 07:15:56 AEDT 2017
On 20 December 2017 at 05:47, Sudarshan Soma <sudarshan12s at gmail.com> wrote:
[...]
> Once I put my shell after changing /etc/passwd , scp doesnt work, it gets
> stuck
>
[...]
> scp testuser at 10.102.12.12:/tmp/scpfile . is stuck, while ssh login works
> ,
> please suggest, if i am doing something wrong.
>
scp relies on being able to run scp at the other end of the ssh connection
to either send or receive the data. Your custom shell broke that.
--
Darren Tucker (dtucker at dtucker.net)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860 37F4 9357 ECEF 11EA A6FA (new)
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
More information about the openssh-unix-dev
mailing list