Disabling ssh to ask for every new host key
Normally when you try to connect a remote side with ssh, in the first time ssh asks for a yes/no question to whether you're sure to continue connecting or not. When you say yes, it makes a new record in ~/.ssh/known_hosts file also. We almost say yes in this question and for this reason, sometimes it is desirable to disable this behaviour. To do this, just comment out and change it to no from ask in /etc/ssh/ssh_config file:
StrictHostKeyChecking no
- 0 Comment
- Murat Demirten
- 15 Apr 2008, 21:10
-
You must be login first or sign-up for an account to post comments.
Maybe you should look at these also:
USERBOX
CATEGORIES
MOST READ TODAY
- Enabling remote desktop on a VirtualBox Machine
- Syntax highlighting in less
- Redirecting tcp / udp ports with socat
- XFS Filesystem has duplicate UUID problem
- Passwordless sudo setup
- Disabling reverse dns lookups in ssh
- dropbear rsa key problem
- Routing packets back from incoming interface
- Multi-conditional search and replace (clearing a ftp trojan script example)
- Deleting A File By It's Inode Value
LAST ADDED
- Using iPhone internet sharing over bluetooth under Linux
- Using USB sound card with amarok
- Multi-conditional search and replace (clearing a ftp trojan script example)
- Disabling ipv6 functionality
- How to convert a mp3 file
- How to choose the fastest Debian mirror
- Disabling reverse dns lookups in ssh
- Rewriting destination ip address
- Deleting A File By It's Inode Value
- Learning which libraries are used for a binary
