Please excuse me as I'm a newbie to Ubuntu Server. This is really getting on my nerves and I could do with some help ASAP please. Is there an easy way to transfer files between two computers connected by an SSH tunnel Im looking for something similar to sftp, but that can be used in an SSH session. I know we can set the Host to setup tunnel on the Tunnel option, and then ssh to the host. I can connect WinSCP just fine without root but not with root.Īlso it dosen't matter if I'm logged in with Putty at the same time or not. I connect Putty using my Ubuntu user then doing sudo su. 524 6 20 asked at 5:58 Mala 7,228 11 35 38 3 What did you use it for I want to use it for socks proxy. I have openssh-server installed and can connect using Putty just fine. Gone to environment/shell and selected sudo su - in shell dropdown list and left all other settings and stored the site. Gone to WinSCP advanced site settings/environment/SFTP and typed in SFTP Server: sudo /usr/lib/openssh/sftp-server, SSH tunneling or SSH port forwarding is a method of creating an encrypted SSH connection between a client and a server machine through which services ports can be relayed. Used ssh-keygen to regenerate keys in /root/.ssh.Ĭonfigured WinSCP with my Ubuntu user credentials without password stored and using port 22, And there's no explanation why.Īdded my Ubuntu user to /etc/sudoers together with ALL = (ALL) NOPASSWD: ALL, Now all that happens is I get logged in after putting in my credentials for my Ubuntu user and it says starting session for a split second then it goes back to the login screen. I've been able to connect to Ubuntu Server 16.04 before as root using SFTP.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |