LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   making ssh 1 default protocol (https://www.linuxquestions.org/questions/linux-security-4/making-ssh-1-default-protocol-19547/)

maaand 04-26-2002 03:42 PM

making ssh 1 default protocol
 
I have managed to set up password-less ssh......
but now I am trying to figure out how to make
ssh 1 as my default protocol.

because when I give the following command

$ssh hostname
I get prompted for the password
$ssh -1 hostname
command doesnt prompt me for the password..
which means that ssh protocol 2 is default

I looked at /etc/ssh/ssh_config and couldnot make
out anything...

I tried settig up
alias ssh='ssh -1'
and it DOES seem to work but
is there a way to make ssh 1 as default
protocol.

unSpawn 04-26-2002 07:11 PM

man ssh(d), in ssh(d)_config add "Protocol 2,1" to have it fall back to 1 if 2 ain't available, or "Protocol 1" when you don't care about all the years of work that have gone into fixing the weak integrity of Protocol 1 connections.


All times are GMT -5. The time now is 08:41 AM.