![]() |
SSHing as default user, not root
I have been successful in installing xterm, openssh and then "ssh-ing" over to the 770 from my laptop using putty... but only as root. How can I use ssh to connect to my 770 as the default user. Is the default username "user". I see that as the only entry in /home.
Thanks, Ed |
Re: SSHing as default user, not root
I think the default username is user, I think you can create additional users in the control panel. I'm not sure how to change to being that user, but, why do you want to?
|
Re: SSHing as default user, not root
I think I want to for permissions reasons... For example, if during one of my ssh sessions, I create a text file as root, will the default user be able to access the file, delete it, etc.
Ed Quote:
|
Re: SSHing as default user, not root
Quote:
Note: These instructions apply to both the 770 and N800 when using openssh
Now, whenever you open your new saved PuTTY session you will log in automatically (or be prompted for a passphrase if set) as user "user". You can create a PuTTY desktop shortcut to load your new PuTTY session by appending -load "Nokia 770" to the end of the command line. NOTE: Should you ever lose your authorized_keys file (eg. not backed up prior to a reflash) you can always recover the public key text by loading your private key file (private.ppk) into puttygen. |
Re: SSHing as default user, not root
You can also ssh shell in as root and type:
passwd user and give the user account a password. Now just ssh in as user@ipaddress and type in your password. edit: This works on the n800, don't know for sure about n770 |
Re: SSHing as default user, not root
Quote:
Use the public/private key method outlined above and you can also disable logins on root eliminating all possibilty of someone gaining access to your device by brute force. Unlikely to happen I know, but some people are paranoid and sometimes with good reason, however I would certainly argue against adding a password to "user" under any circumstances. |
Re: SSHing as default user, not root
Quote:
|
Re: SSHing as default user, not root
Well spotted - it should be 700. It can't be 600 as it's a directory. I'll update the text now... thanks.
|
Re: SSHing as default user, not root
Quote:
thaibill |
Re: SSHing as default user, not root
@thaibill:
on your linux desktop, as your user (not as root!): Code:
ssh-keygen Code:
cp ~/.ssh/id_rsa.pub /media/disk/ Code:
cd /home/user |
All times are GMT. The time now is 15:01. |
vBulletin® Version 3.8.8