LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-21-2003, 04:59 PM   #1
mikeshn
Member
 
Registered: Feb 2002
Posts: 586

Rep: Reputation: 30
what ssh I am using?


If I connect to a remote server through ssh. How can I find what ssh I'm using ? ssh1 or ssh2 ?
 
Old 10-21-2003, 05:09 PM   #2
g00$e
Member
 
Registered: Sep 2003
Location: Norfolk, VA
Distribution: Slackware
Posts: 119

Rep: Reputation: 15
I believe 'ssh -V' will give you the information you want. Check 'man ssh' for more.
 
Old 10-21-2003, 05:46 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by g00$e
I believe 'ssh -V' will give you the information you want. Check 'man ssh' for more.
That is correct.

mikeshn,

I don't understand what you mean by ssh1 or ssh2.. it will usually look something like this:
Code:
drew@trickykid:~$ ssh -V
OpenSSH_3.7p1, SSH protocols 1.5/2.0, OpenSSL 0.9.7b 10 Apr 2003
ssh or better yet, Openssh isn't referred to as ssh1 or ssh2.. and so on.

Cheers.
 
Old 10-21-2003, 06:07 PM   #4
nrunge
Member
 
Registered: Oct 2003
Distribution: Debian Woody (2.4.22)
Posts: 182

Rep: Reputation: 30
2 different versions

There are actually 2 different versions of the SSH protocol. If you read the manpage for ssh it will describe how each works. I beleive by default it uses ssh2 but if you want to force it there is a command switch.


ssh -1 Force protocol version 1
ssh -2 Force protocol version 2
 
Old 10-21-2003, 06:08 PM   #5
g00$e
Member
 
Registered: Sep 2003
Location: Norfolk, VA
Distribution: Slackware
Posts: 119

Rep: Reputation: 15
The man page does say this:

Code:
     -1      Forces ssh to try protocol version 1 only.

     -2      Forces ssh to try protocol version 2 only.
Unfortunately that is about all I can add to this subject.

The above post went in before I could hit submit I swear!
 
Old 10-21-2003, 07:21 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Re: 2 different versions

Quote:
Originally posted by nrunge
There are actually 2 different versions of the SSH protocol. If you read the manpage for ssh it will describe how each works. I beleive by default it uses ssh2 but if you want to force it there is a command switch.


ssh -1 Force protocol version 1
ssh -2 Force protocol version 2
Ayee.. he should have mentioned protocol then and not make it sound like he was wanting the version that was being used...

I've never seen it mentioned or stated like "ssh1" or "ssh2"...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 02:50 AM
[SSH] Issue logging in [SSH & Permissions] MD3 Linux - Networking 11 12-10-2006 09:25 AM
Mac OS X ssh client / linux sshd : ssh hangs/disconnects Apollo77 Linux - Networking 1 05-24-2006 11:53 AM
I turned off SSH, but I cant get it back! How do you start SSH on boot? nmoog Slackware 2 02-08-2004 05:18 PM
ssh issue: /usr/bin/ssh -x -oFallBackToRsh no -l WeNdeL Linux - Software 1 03-04-2003 07:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration