how to scp when no shell for user in /etc/passwd
From: Frank (fm122_at_arcor.de)
Date: 06/29/05
- Previous message: Andreas Brand: "Re: ssh -b bind_address not working?"
- Next in thread: Neil W Rickert: "Re: how to scp when no shell for user in /etc/passwd"
- Reply: Neil W Rickert: "Re: how to scp when no shell for user in /etc/passwd"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 29 Jun 2005 16:22:14 +0200
Hello
want to transfer a file from boxA to boxB.
Usually no problem with
frank@boxA:frank> scp myfile bob@boxB:/tmp/bla3
internally this is:
/usr/bin/ssh -x -oForwardAgent no -oClearAllForwardings yes -lbob
192.168.1.5 scp -t /tmp/bla3
meaning that these 3 steps are processed:
- login to boxB
- execute scp -t .... via shell
- logout
But in my situation I have a custom program instead of /bin/bash
in the /etc/passwd file on boxB
So instead of the shell the custom program on boxB is called
and scp does not work.
Had a look at man ssh and man scp, but did not find something
useful for this situation.
Any ideas how to solve this without changes in boxB ?
Frank
- Previous message: Andreas Brand: "Re: ssh -b bind_address not working?"
- Next in thread: Neil W Rickert: "Re: how to scp when no shell for user in /etc/passwd"
- Reply: Neil W Rickert: "Re: how to scp when no shell for user in /etc/passwd"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]