Solaris and known_hosts


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Solaris and known_hosts
# 1  
Old 03-04-2013
Solaris and known_hosts

Hello,

I have a file known_hosts where i want to remove a key, but i don't how to do remove a client on it ?

Can you help me please ?

Thanks very much
# 2  
Old 03-04-2013
I suppose you would have to be a bit more specific on what you are trying to achieve... removing with vi has nothing tricky, but since you say "want to remove a key, but i don't how to do remove a client on it ?" form known_hosts, perhaps you should say why:
If you are facing an issue, what message did you get? in known_hosts, it will be obvious only if you know the line number ( wich will be the key...) e.g. 3:
Code:
vi +3 known_host
(once in vi use dd straightaway, save and quit..)

Good idea to make a copy of the file before....
 
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Deleted known_hosts file on private server, how do I get it back?

In my ignorance I deleted the known_hosts file on private server. I am not sure what the file type is supposed to be. In general, I have been having problems with ssh and passwords. For some reason, despite having generated a private/public key pair and successfully saving the .pub file onto the... (2 Replies)
Discussion started by: Circuits
2 Replies

2. Solaris

How to add Solaris text console to Solaris grub2 menu?

Hi, I am new to sloaris and just instlled the solaris 11.2, i know little more about linux, i open the /boot/grub/grub.cfg in solaris and there is many other entries forl solaris 11.2 one of them is for 'Oracle Solaris 11.2 text console' but at boot grub2 only show the first default entry that... (1 Reply)
Discussion started by: shamsat
1 Replies

3. UNIX for Advanced & Expert Users

How to check or remove IP address from a hashed known_hosts file?which

Hi, In my server, the hostname and IP addresses are added to the known_hosts which then be hashed by ssh-keygen -H -f. Is it possible to check if an IP address has already been added to the hashed known_hosts to avoid duplications (I think there will be problems if there are duplicated IP... (3 Replies)
Discussion started by: hce
3 Replies

4. AIX

known_hosts passwordless access

Dears i have one primary server and 4 secondary server i need to access all my secondary servers from the primary server without using the password how do i configure the known_hosts to do this . (1 Reply)
Discussion started by: thecobra151
1 Replies

5. Solaris

Unable to login using ssh,telnet onto my solaris machine with solaris 10 installed

Hi, I am unable to login into my terminal hosting Solaris 10 and get the below error message "Server refused to allocate pty ld.so.1: sh: fatal: libc.so.1: open failed: No such file or directory " Is there anyways i can get into my machine and what kind of changes are required to be... (7 Replies)
Discussion started by: sankasu
7 Replies
Login or Register to Ask a Question