Differences
This shows you the differences between the selected revisions of the page.
guide_public_key 2021-07-29 | guide_public_key 2023-12-06 (current) | ||
Line 7: | Line 7: | ||
* [[guide_install|Have WinSCP installed]]; | * [[guide_install|Have WinSCP installed]]; | ||
* [[guide_connect|Know how to connect to the server without public key authentication]]. | * [[guide_connect|Know how to connect to the server without public key authentication]]. | ||
- | ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDJ3m82xqTDy/drJ/SZWNjUOXqNc00rwwTU/ejqvi2U5CBRUqt6vNiWSkJkGlnvuUtyuCQqcl4NAEZyHUX9J+D7DPCLi1GShHs8HcDZOEWTcfv8Ag2+vSpQLGoyHBLvWEFMrKrq1pgM0zwdJDXuQQKOmrvRT0oc9IWcIoCUkvY4xTF+Zq3ym4N8CjRVCzM08Wq/5LEK2r4/gHEMcAbVGJ3wJJiqeByanvIbCMfbaiY0mxYR8vdqwtI5YrW54sVNtlJwcw0THHkFmr6D2Mc2HDwR/4IDPTvAkdpnNb0igqrtM0i0yaC7KO5YVwBekdC7FeJswdPxNx1WWMkhh2JodCL7 revremit@uszu3appuwv008 | ||
===== [[generate]] Generate Key Pair ===== | ===== [[generate]] Generate Key Pair ===== | ||
Line 19: | Line 18: | ||
==== [[configure_openssh]] OpenSSH ==== | ==== [[configure_openssh]] OpenSSH ==== | ||
- | You can use //Session > Install Public Key into Server// command on the main window, or //Tools > Install Public Key into Server// command on //[[ui_login_authentication|SSH > Authentication page]]// page on Advanced Site Settings dialog. The functionality of the command is similar to that of OpenSSH ''[[https://linux.die.net/man/1/ssh-copy-id|ssh-copy-id]]'' command. | + | You can use //Session (Tabs) > Install Public Key into Server// command on the main window, or //Tools > Install Public Key into Server// command on //[[ui_login_authentication|SSH > Authentication page]]// page on Advanced Site Settings dialog. The functionality of the command is similar to that of OpenSSH ''[[https://manpages.debian.org/stable/openssh-client/ssh-copy-id.1.en.html|ssh-copy-id]]'' command. |
Or you can configure the key manually: | Or you can configure the key manually: | ||
- | * Navigate into a ''.ssh'' subdirectory of your account home directory. You may need to enable [[ui_pref_panels#common|showing hidden files]] to see the directory. If the directory does not exists, you need to [[task_create_directory|create it]] first. | + | * Navigate into a ''.ssh'' subdirectory of your account home directory. You may need to enable [[ui_pref_panels#common|showing hidden files]] to see the directory. If the directory does not exist, you need to [[task_create_directory|create it]] first. |
* Once there, open a file ''authorized_keys'' for [[task_edit|editing]]. Again you may have to create this file, if this is your first key. | * Once there, open a file ''authorized_keys'' for [[task_edit|editing]]. Again you may have to create this file, if this is your first key. | ||
* Switch to the [[ui_puttygen|PuTTYgen]] window, select all of the text in the //[[ui_puttygen#authorized_keys|Public key for pasting into OpenSSH authorized_keys file]]// box, and copy it to the clipboard (''Ctrl+C''). Then, switch back to the editor and insert the data into the open file, making sure it ends up all on one line. Save the file. WinSCP can [[ui_login_authentication#private_key_tools|show you the public key]] too. | * Switch to the [[ui_puttygen|PuTTYgen]] window, select all of the text in the //[[ui_puttygen#authorized_keys|Public key for pasting into OpenSSH authorized_keys file]]// box, and copy it to the clipboard (''Ctrl+C''). Then, switch back to the editor and insert the data into the open file, making sure it ends up all on one line. Save the file. WinSCP can [[ui_login_authentication#private_key_tools|show you the public key]] too. |