Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 Access SSH, Using powershell and key-agent

views
     
TSUbuntuClient
post Sep 22 2022, 02:45 PM, updated 4y ago

Regular
******
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 icon_question.gif icon_question.gif
Buffalo Soldier
post Sep 22 2022, 02:46 PM

Casual
***
Junior Member
444 posts

Joined: Aug 2005
have you configured the ~./ssh/config file?
anakkk
post Sep 22 2022, 03:06 PM

Look at all my stars!!
*******
Senior Member
2,114 posts

Joined: Apr 2013
install cygwin or WSL, it works
TSUbuntuClient
post Sep 23 2022, 09:02 AM

Regular
******
Senior Member
1,417 posts

Joined: Jun 2007
From: /puchong/cyberjaya/klang



I'm using windows 10, not mistaken can already ssh from powershell.

jonathanYYDS
post Oct 6 2022, 08:31 AM

Getting Started
**
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.
dcheah
post Oct 6 2022, 11:56 AM

OldSkool
******
Senior Member
1,457 posts

Joined: Jan 2005
From: Kajang


QUOTE(UbuntuClient @ Sep 23 2022, 09:02 AM)
I'm using windows 10, not mistaken can already ssh from powershell.
*
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:
| Lo-Fi Version
0.0138sec    0.27    5 queries    GZIP Disabled
Time is now: 8th December 2025 - 04:56 PM