LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-19-2008, 05:41 AM   #1
tajamari
Member
 
Registered: Jul 2007
Distribution: Red Hat CentOS Ubuntu FreeBSD OpenSuSe
Posts: 252

Rep: Reputation: 32
ssh2 version


how do i know if im using ssh2?
 
Old 06-19-2008, 07:39 AM   #2
sxeraverx
LQ Newbie
 
Registered: Mar 2008
Posts: 8

Rep: Reputation: 0
I'm not sure if you mean ssh (the client) or sshd (the server).

If you run ssh with "ssh -2", you force the client to use v2 only. If it can connect to your server, then your server is also accepting v2. Likewise, if you run "ssh -1", you force the client to connect with v1 only. If you cannot connect to your server, that means your server is *Only* accepting v2, and not v1. If you can, then it means it's accepting both.
 
Old 06-19-2008, 08:40 AM   #3
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
how do i know if im using ssh2?
Try making your connection like this:
Code:
ssh  -vvv  user@host
and ssh will tell you how it is making the connection (or not).
 
Old 06-23-2008, 02:25 AM   #4
tajamari
Member
 
Registered: Jul 2007
Distribution: Red Hat CentOS Ubuntu FreeBSD OpenSuSe
Posts: 252

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by tredegar View Post
Try making your connection like this:
Code:
ssh  -vvv  user@host
and ssh will tell you how it is making the connection (or not).
thanks tredegar
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh2.so MrSako Linux - Software 3 08-18-2006 03:03 AM
ssh2 on RH 7.2 GEEXTER Linux - Security 3 05-06-2003 12:51 PM
ssh2 to openssh 3.5 cuss Linux - Security 0 01-09-2003 02:38 PM
configuring SSH2 jrocha Linux - Security 2 07-24-2001 09:52 AM
Need Help with SSH2 fenris@bu Linux - Security 2 06-01-2001 10:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:27 AM.

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