You are not logged in.
Hi. Apparently, in WinSCP you can specify the sftp command as "sudo /usr/lib/openssh/sftp-server" so that once you login as a regular user (one in the wheel group), you can transfer files as root.
Does anyone know how to do this with gftp (or any other sftp client, preferrably one that doesn't need 500 gnome or kde dependencies, but whatevs)?
I would think that it has something to do with "FTP" > "Preferences" > "SSH" > "SSH prog name" or "Extra params", but nothing I try works.
Offline
you can transfer files as root.
You do realize that's a horrible idea. Letting a remote machine have root access to a box.
sftp is based on ssh, not ftps which is ftp encrypted with ssl/tls.
/etc/ssh/sshd_config
.......
#LoginGraceTime 2m
#PermitRootLogin yes
#StrictModes yes
#MaxAuthTries 6
#MaxSessions 10
.......
# Set this to 'yes' to enable PAM authentication, account processing,
# and session processing. If this is enabled, PAM authentication will
# be allowed through the ChallengeResponseAuthentication and
# PasswordAuthentication. Depending on your PAM configuration,
# PAM authentication via ChallengeResponseAuthentication may bypass
# the setting of "PermitRootLogin without-password".
# If you just want the PAM account and session checks to run without
# PAM authentication, then enable this but set PasswordAuthentication
# and ChallengeResponseAuthentication to 'no'.
UsePAM yes
.......You may also have to remove/alter ~/.ssh/known_hosts
Restart sshd.
Search ssh as root.
Offline