Sftp thing about the connection and the local configuration sftp

1, the window server configuration sftp

Reference: https://blog.csdn.net/zhangliang_571/article/details/45598939

  • Download: http:? //Www.freesshd.com/ ctt = download, just download it freeSSHd.exe
  • All the way to the installation point to determine if the path is not installed on the C drive, the process prompts generated private key must agree, otherwise it will error "private key is not installed," as the ultimate directory

  • Configure

    • Users of the configuration can be used to access user and password

 

 

 

    • SSH access at the selected address and port, I choose the 127.0.0.1 more convenient access to their own

    • Sftp election is the default directory after login

    • Authentication Password authentication in a column to select Required, otherwise enter the password when the client is always wrong connection

  • run

    I could have been using the server status in the run ssh servers, but if wrong, then reported privileges. Need to stop ssh servers, upload and off freeSSHD, then came to the installation directory, right FreeSSHDService.exe, run with administrator privileges

 

2, using the account password to connect sftp server

Method One: FileZilla account password to access via sftp

  File - Site Management - new site: Enter the host ip, port, select the sftp protocol, logon type selection "general" or "normal", fill in your account password. If you do not fill in the port, the default is 22

 Method Two: Use cmd, use the "sftp username @ host address" to connect, the default port is 22, if you need to set their own port, you can use the "sftp -P port number user name @ host address" to connect

 3, filezilla authentication failure, severe error, can not connect to the server, cmd under Permission denied

  As follows, in fact, these two issues are occurring simultaneously, it is a permissions problem.

 

 

 

 

如果连接的是远端服务器的sftp,可能是那边服务器并没有给你的电脑访问权限

如果是自己本地安装的freeSSHd,是因为你没有使用管理员权限打开安装目录下的FreeSSHDService.exe

 

 

 

Guess you like

Origin www.cnblogs.com/liwxmyself/p/11538418.html