FW: 2 sftp questions - Solved

Paul Howarth paul at city-fan.org
Sun Mar 20 13:45:07 UTC 2005


On Sat, 2005-03-19 at 10:19 -0500, Claude Jones wrote:
> Ok - it's what I suspected, and perhaps as you suspected. I have to log 
> in from the same user. If I su in Bash to root, and try to log in to my 
> user name on the remote computer, it fails. If I open a Bash terminal as 
> user and try to log in as user, it works. Thanks for your help!

You should be able to specify the account name you want to log in as on
the sftp command line, e.g.

$ sftp user at some.host

For instance, my account names at home and at work are different, so
there would be no way for me to log in from one place to the other if I
couldn't specify the account name in this way. If you've used "su" then
the default account name it's using may not be the one you're expecting;
it's probably best to explicitly state which account name you're using,
as in the example above.

Paul.
-- 
Paul Howarth <paul at city-fan.org>




More information about the fedora-list mailing list