Link to home
Start Free TrialLog in
Avatar of beer9
beer9Flag for India

asked on

How to read public key from id_dsa private key while using ssh client?

Hello, I have id_dsa and id_dsa.pub file, I do not want ssh client to read id_dsa.pub file, instead extract public file from the id_dsa private key  while doing key exchange, what parameter should I use with ssh client or put in 'config' file ? Thanks!
ASKER CERTIFIED SOLUTION
Avatar of ahoffmann
ahoffmann
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of beer9

ASKER

Also, what is the behavior of below, means keeping 1,2 or 2,1
what is the affect of order of keeping the Protocol number in sshd server config file and ssh client config file

#grep Pro /etc/ssh/ssh_config
Protocol 2,1
#grep Pro /etc/ssh/ssh_config
Protocol 1,2


#grep Protocol /etc/ssh/sshd_config
Protocol 1,2
#grep Protocol /etc/ssh/sshd_config
Protocol 2,1

Thank you,
Balbir
SOLUTION
Avatar of woolmilkporc
woolmilkporc
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of beer9

ASKER

Thank you :-)