FW: 2 sftp questions - Solved

Claude Jones claude_jones at levitjames.com
Sat Mar 19 15:19:02 UTC 2005


Claude Jones wrote:
> Paul Howarth wrote:
>>>>> | On Fri, 2005-03-18 at 00:59 -0500, Claude Jones wrote:
>>>>> || I got sftp working, today. I have two questions I can't seem
>>>>> || to answer: 1)   I first got it going by using the command line
>>>>> || in a terminal window. For another reason, I happened to be in
>>>>> || root. I connected and was able to log in after clicking past
>>>>> || the warning message about the unknown key and putting in my
>>>>> || username and password. Later on, I discovered how to do this
>>>>> || with gftp, also from root. Later on, when I tried to do this
>>>>> || with my username, I couldn't get in, getting a message that
>>>>> || the key couldn't be identified or something - so, my first
>>>>> || question is, is it a good idea to be logging in as root, and
>>>>> || if not, how do get past the warning?
>>>>> |
>> Can you ssh in as the regular user?
>>
>> $ ssh 66.225.207.87
>>
>> Paul.
>>  
>>
> Does it count if I do it locally? I mean on the machine itself? I'm at 
> home now, it's early morning here - I think you're in the UK, no? 
> Anyhow, I was able to ssh to my external IP on the machine itself. I'll 
> give it a try when I get to work, which will be in a few hours. One 
> other question - does it make a difference if I'm logged in as root or 
> user on the remote machine? Excuse me if this is too obvious...
> 

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!

-- 
Claude Jones
Bluemont, VA, USA




More information about the fedora-list mailing list