


The private key can be transferred to your other PC if you want to connect from it. The client uses a PRIVATE key, PUBLIC is registered on the server. In the custom key field, select our previously created key, save the connection. In the method field, select the public key. Go to xShell, call the list of saved sessions (Alt + O)įind our session, click properties, go to authentication. We insert into it our key in text form obtained above: The authorized_keys file needs to be nano authorized_keys
#Xshell use stfp password
Then the password for the key file and confirmation, or leave blank and Enter. We agree to the default /root/.ssh/id_rsa by pressing Enter. We will be offered the path where to save the key file. It is necessary to generate the key of the server itself in the same ssh-keygen -t rsa -b 4096 This is normal, this folder is absent if keys have not been generated on the server before. To which in 90% of cases we get an error -bash: cd: /root/.ssh: No such file or directory, This completes the generation, but not all.Ĭonnect to the server via ssh and go to cd /root/.ssh One key can be used on many servers, which is convenient. We name the key as it is convenient for us, if you wish, you can protect the key by setting an additional password (it will be requested when connecting or importing the key on another device) We see the list of keys while it is empty. It is necessary to generate our key, to be more precise a pair - public / private keys. You can connect not only with a password, but also using a key, which is much safer and more convenient. (Tools - options - keyboard and mouse - copy the marked text to the clipboard). The most convenient thing is that the selected text is automatically copied to the clipboard The only thing that needs to be chosen is the protocol, by default it will be sFTP, you can select regular FTP. Next, go to authentication and fill in the username and password.įor xFTP, everything is the same. Click "new"įill in the data for the connection, port / host / ip address, and the desired session name. We launch.Īfter starting, we see a window with a list of saved sessions, while it is empty.
#Xshell use stfp install
#Xshell use stfp software
Then we recommend paying attention to such software as xShell.
