FW: 2 sftp questions - Solved

Claude Jones claude_jones at levitjames.com
Mon Mar 21 00:16:37 UTC 2005


Claude Jones wrote:

> Paul Howarth wrote:
>
>> 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.
>>
>>  
>>
> Ok. I'll have to try that, tho I could swear I did, and it didn't work.
>
I tried it, and it works, now.

-- 
Claude Jones
Bluemont, VA, USA




More information about the users mailing list