LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-04-2013, 04:10 PM   #1
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430

Rep: Reputation: 55
How can I disable the authenticity check when ssh'ing to a server for the first time?


How can I disable the authenticity check when ssh'ing to a server for the first time?

In other words how can I get it to connect, rather than asking the yes/no question:
Code:
[root@sandbox ~]# ssh  dnsadmin@11.11.11.16
The authenticity of host '11.11.11.16 (11.11.11.16)' can't be established.
RSA key fingerprint is 85:fe:39:8f:cc:f9:dd.
Are you sure you want to continue connecting (yes/no)?
TIA
 
Old 10-04-2013, 04:14 PM   #2
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Try this

Code:
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no dnsadmin@11.11.11.16
 
1 members found this post helpful.
Old 10-04-2013, 04:16 PM   #3
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430

Original Poster
Rep: Reputation: 55
TYVM
 
  


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
[SOLVED] how to enable/disable ssh server,at and not at boot time? wang Linux - Server 8 03-02-2011 07:57 AM
SSH time out on login attempt from remote box: command needed to check port 22 bweaver Linux - Security 3 12-01-2010 03:57 PM
Server Certificate Failed the authenticity test Toadman General 0 09-01-2007 05:15 PM
disable ssh-timout after some idle time papa_anarchia Linux - General 1 11-25-2005 02:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:01 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