~/.ssh/
directory on your local machine. Look for a file ending in .pub
, which contains the public key. For example:
id_rsa.pub
(default key)type $home\.ssh\id_rsa.pub
( windows powershell)
For Mac/Linux: cat ~/.ssh/id_rsa.pub
proxytunnel
, follow the steps below for your Operating System:
proxytunnel
in your package manager respositoriesRemote Explorer
in the activity bar on the left side. Click on this icon to manage your SSH connections.mkdir -p /home/jovyan/.ssh/authorized_keys
<deploymentName>
: The name of the SSH server on the platform<remote-file-path>
: The path to the file or directory on the SSH server that you want to copy. <local-file-path>
: The destination path on your local machine where you want to save the copied file.
<deploymentName>
: The name of the SSH server on the platform<remote-file-path>
: The destination path on the SSH server where you want to save the copied file. <local-file-path>
: The path to the file or directory on your local machine that you want to copy.
rsync
to Copy Files Between Local Machine and SSH Serverrsync
is a tool for synchronizing files and directories between a local machine and a remote server via SSH. It only transfers the changes made to files, making it efficient for backups and file synchronization.
rsync
, use the following command:
<deploymentName>
: The name of the SSH server on the platform<remote-file-path>
: The path to the file or directory on the SSH server that you want to copy. <local-file-path>
: The destination path on your local machine where you want to save the copied file.
-a
flag enables archive mode, preserving file permissions and timestamps.-v
flag enables verbose output, so you can see the progress of the transfer.-z
flag enables compression during transfer, which can speed up the process for larger files.rsync
, use the following command:
<deploymentName>
: The name of the SSH server on the platform<remote-file-path>
: The path to the file or directory on the SSH server that you want to copy. <local-file-path>
: The destination path on your local machine where you want to save the copied file.
-a
flag enables archive mode, preserving file permissions and timestamps.-v
flag enables verbose output, so you can see the progress of the transfer.-z
flag enables compression during transfer, which can speed up the process for larger files.