1753797 Members
8652 Online
108805 Solutions
New Discussion юеВ

Re: version of ssh

 
Abhilash Krishnan
Frequent Advisor

version of ssh

Hi
How I can find ssh version means it is 32 bit or 64 bit
6 REPLIES 6
Taifur
Respected Contributor

Re: version of ssh

Hi Biju

you can check the ssh version as follows
# swlist openssh
#swlist -l fileset openssh
or
#ssh -V
will show the version (for the client)
or
#sshd -v
will show the help page but also the version for the server....

From the nickel output you can check all software list which are installed in your OS.

Rgds//
Taifur
Abhilash Krishnan
Frequent Advisor

Re: version of ssh

It gives the version but how to check bit means 32 bit or 64 bit???
Wim Rombauts
Honored Contributor

Re: version of ssh

You can iterrogate the executabe :
cd /opt/ssh/bin
file ssh
cd /opt/ssh/sbin
file sshd

PA-RISC1.1 means 32-bit
PA-RISC2.0 means 64-bit
ELF32 means 32-bit
ELF64 means 64-bit

On my Itanium system, ssh is 32-bit while sshd is 64-bit.
T G Manikandan
Honored Contributor

Re: version of ssh

do a

#file ssh

If the output is ELF-64 then its 64 bit
else is only 32 bit (eg. PA-RISC1.1 or PA-RISC2.0)
Abhilash Krishnan
Frequent Advisor

Re: version of ssh

Thanks for your reply.I give 9 points to it.
Suraj K Sankari
Honored Contributor

Re: version of ssh

hi,

ssh -v is the command and for more info do man ssh

Suraj