Showing posts with label ssh. Show all posts
Showing posts with label ssh. Show all posts

Friday, March 5, 2010

Linux :: Adding User

To add a person outside U,
$ adduser <username>

- enter a temporary password
- enter other details

To provide SSH access to user, add the username in sshd_config file
$ vim /etc/ssh/sshd_config
go to the line saying 'AllowUsers' and add user
AllowUsers root
<username>

restart the sshd daemon
$ /etc/init.d/ssh restart

CHECK:
Login using the username and password, to check whether is works

ERROR:
- check the log file in /var/log/auth.log

Thursday, March 4, 2010

Ubuntu :: SSHFS

Find out more about this
- this will help mount the remote filesystem
- work on the files at local machine

https://help.ubuntu.com/community/SSHFS