أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
How to configure SSH Password less between Windows Server and Linux Server
Step 1: Generate SSH Key Pair
Step 2: Upload Public Key to Remote Server (either linux or windows).
"SSH Key Pair" is the way to SSH Password less login both for windows server & linux server
not interested because out of scope to my job.
Generate an SSH key pair on the Windows server using an SSH client such as PuTTYgen or OpenSSH. This will create a public key and a private key.
Copy the public key to the Linux server. You can do this by using the SSH client to connect to the Linux server and manually adding the public key to the authorized_keys file in the user's home directory. You can also use a tool like ssh-copy-id to automate this step.
Test the SSH connection to make sure the passwordless authentication is working. You should be able to connect from the Windows server to the Linux server without being prompted for a password.
Step 1: Generate SSH Key Pair
Step 2: Upload Public Key to Remote Server (either linux or windows).
- ssh from the host (server you want to start connection from) to the guest (server you wanna log in into)
> if both then do this twice with both servers)
- you may add the server to known hosts at first log in
> a prompt will ask you if you wanna do that.. just type yes
- other way is to assign a key pair verification or public and private key
you'll need a past log in
generate your key using `ssh-keygen` and assign it from host to guest using `ssh-copy-id`
be careful if you have multiple keys this may assign all keys to your server so either move them until you assign your wanted key or assign your private key directly into your guest .ssh/authorized_keys file as one line
To configure passwordless SSH between a Windows Server and a Linux Server, generate an SSH key pair on the Linux server, install OpenSSH on the Windows server, configure the SSH server, copy the Linux server's public key to the Windows server, and test the connection.
Each system has its own way of working
And the jobs assigned to it's system, both of them wonderful and they perform the tasks that were assigned to each