FW: 2 sftp questions

Claude Jones claude_jones at levitjames.com
Sat Mar 19 12:38:25 UTC 2005


Paul Howarth wrote:

>On Sat, 2005-03-19 at 06:30 -0500, Claude Jones wrote:
>  
>
>>Paul Howarth wrote:
>>
>>    
>>
>>>On Fri, 2005-03-18 at 18:16 -0500, 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?
>>>>|
>>>>| Please post the exact error message you got. I would avoid
>>>>| logging in as root if at all possible.
>>>>|
>>>>ssh cj at 66.
>>>>
>>>>Here are the results from logging in as root vs as user:
>>>>
>>>>From user:
>>>>
>>>>The authenticity of host '66.225.207.87 (66.225.207.87)' can't be 
>>>>established.
>>>>RSA key fingerprint is b1:29:73:c2:26:c6:1f:6b:83:5a:cd:80:bd:bd:2d:be.
>>>>Are you sure you want to continue connecting (yes/no)? yes
>>>>
>>>>Warning: Permanently added '66.225.207.87' (RSA) to the list of known hosts.
>>>>Connection closed by 66.225.207.87
>>>>Couldn't read packet: Connection reset by peer
>>>>   
>>>>
>>>>        
>>>>
>>>Does a user account of the same name exist on the remote machine?
>>> 
>>>
>>>      
>>>
>>yes
>>
>>    
>>
>>>Does logging in to the remote machine as "root" work?
>>>ssh cj at 66.
>>>
>>>$ sftp root at 66.225.207.87
>>> 
>>>
>>>      
>>>
>>Yes. That's what I'm trying to figure out. I can log in as root, but not 
>>as a regular user.
>>    
>>
>
>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...

-- 
Claude Jones
Bluemont, VA, USA




More information about the users mailing list