On Sun, Jul 30, 2023 at 3:41 PM Yves Auffret <[email protected]> wrote: > > Hello, > > I’m unable to use sftp protocol for file transfer on VNC connection. > > With this user-mapping.xml, I not allowed to connect. But if enable-sftp is > set to false it works (without sftp). > > What I’m doing wrong ? > > Regards > YA > > <user-mapping> > <authorize username="user1" password="___PASSWD_MD5_FORMAT___" > encoding="md5"> > <connection name="VNC1"> > <protocol>vnc</protocol> > <param name="hostname">localhost</param> > <param name="port">9001</param> > <param name="username">user1</param> > <param name="password">my_passwd</param> > <param name="enable-sftp">true</param> > <param name="sftp-password">my_sftp_passwd</param> > </connection> > </authorize> > </user-mapping>
If you're using enable-sftp with VNC you will likely also need the following: * sftp-username * sftp-password or * sftp-username * sftp-private-key * sftp-passphrase While the SFTP hostname defaults to the VNC server to which you're connecting, leaving the SFTP username and/or password blank will just result in a blank username and/or password, which will result in the connection failing. -Nick --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
