open /etc/rssh.conf file:
#vi /etc/rssh.conf
Append or uncomment following two lines
allowscp
allowsftp
Save and close the file.
rssh reads configuration file(now there is no rssh service exists). Now user should able to run scp and sftp commands, but no shell access is granted.now the output will display like this,
root@aspx-desktop:~# sftp linux@192.168.1.230
Connecting to 192.168.1.230...
linux@192.168.1.230's password:
sftp>
No comments :
Post a Comment