Thread: SSH and sudo
hi all,
connect lubuntu 12.04 installation ssh/sftp (using winscp) , have sudo privileges editing files. thing set ubuntu server , repeated steps lubuntu not work. when connecting lubuntu following error:
cannot initialize sftp protocol. host running sftp server?
in winscp, 1 must set setting environment->sftp to
sudo /usr/lib/openssh/sftp-server
work. can leave @ default value , connection works without sudo privilege.
work created file in etc/sudoers.d following content:
username all=nopasswd: /usr/lib/openssh/sftp-server
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [lubuntu] SSH and sudo
Ubuntu
Comments
Post a Comment