You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Make sure you have .ssh folder in remote server user's home directorySyntax:- ssh -P PORT Remote_Server_Username@Remote_Server_Host_IP "mkdir /home/Remote_Server_Username/.ssh"Example:- ssh -P 22 [email protected] "mkdir /home/raj/.ssh"2. Copy Public KeySyntax:- scp -P PORT SSH_PUBLIC_KEY_PATH Remote_Server_Username@Remote_Server_Host_IP:/home/Remote_Server_Username/.ssh/authorized_keysExample:- scp -P 22 C:\Users\R/.ssh\raj_ed25519.pub [email protected]:/home/raj/.ssh/authorized_keys