How to set bash cmd so i can remote ssh to the server using public key? Normally i'm accessing server using public key that store in pageant.
Please advise.
Thanks
Access SSH, Using powershell and key-agent
|
|
Sep 22 2022, 02:45 PM, updated 4y ago
Show posts by this member only | Post
#1
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,417 posts Joined: Jun 2007 From: /puchong/cyberjaya/klang |
Hi,
How to set bash cmd so i can remote ssh to the server using public key? Normally i'm accessing server using public key that store in pageant. Please advise. Thanks |
|
|
|
|
|
Sep 22 2022, 02:46 PM
Show posts by this member only | Post
#2
|
![]() ![]() ![]()
Junior Member
444 posts Joined: Aug 2005 |
have you configured the ~./ssh/config file?
|
|
|
Sep 22 2022, 03:06 PM
Show posts by this member only | Post
#3
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
2,114 posts Joined: Apr 2013 |
install cygwin or WSL, it works
|
|
|
Sep 23 2022, 09:02 AM
Show posts by this member only | Post
#4
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,417 posts Joined: Jun 2007 From: /puchong/cyberjaya/klang |
I'm using windows 10, not mistaken can already ssh from powershell.
|
|
|
Oct 6 2022, 08:31 AM
Show posts by this member only | Post
#5
|
![]() ![]()
Junior Member
144 posts Joined: Aug 2022 |
Your Linux server have to configure the SSH with the public key. Then use Putty to SSH into it. Remember to add the public key into your Putty SSH. Never try direct from Terminal/Powershell.
|
|
|
Oct 6 2022, 11:56 AM
Show posts by this member only | Post
#6
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,457 posts Joined: Jan 2005 From: Kajang |
QUOTE(UbuntuClient @ Sep 23 2022, 09:02 AM) Windows 10 will automatically save the Public Key into your local computer whenever there is a new SSH connection initiated.If the remote server have SSH with Key enabled, then you need to copy that key & save into your computer (%programdata%\ssh\ssh_config). |
| Change to: | 0.0175sec
0.50
5 queries
GZIP Disabled
Time is now: 8th December 2025 - 04:32 PM |