Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Deleted known_hosts file on private server, how do I get it back? Post 303035004 by Circuits on Friday 10th of May 2019 04:58:07 PM
Old 05-10-2019
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 private server @ ~/.ssh I am still being prompted for passwords. That is what lead me to deleting the contents of the directory and trying to start over.
 

9 More Discussions You Might Find Interesting

1. IP Networking

Able to ping server's private network

Hi guys, I'm in the progress of setting up a private network in our Sun solaris platform. Existing ip: 172.16.102.101 New private ip: 192.168.2.3 Netmask is the same for both private & public 255.255.255.0 After setting up the ip, I'm able to ping this private ip address from our... (3 Replies)
Discussion started by: *Jess*
3 Replies

2. UNIX for Dummies Questions & Answers

Restoring back a deleted file in unix.

Hi, Can any one tell me how to restore back the deleted file in unix? I know the file name. If i know the inode number of the file does help more to restore back the file? (1 Reply)
Discussion started by: siba.s.nayak
1 Replies

3. Linux

Bring back a deleted partition

I deleted my partition on a test server and want to bring back the partition. I have not rebooted yet, so system is operational. I have the /proc/partition major minor #blocks name 8 0 195359960 sda 8 1 1044224 sda1 8 ... (2 Replies)
Discussion started by: photon
2 Replies

4. Solaris

ssh private keys stored on home server

Where in the world are the ssh private keys stored on the home server? I know the public keys are renamed to authorized_keys under the /export/home//.ssh directory on the remote server. (1 Reply)
Discussion started by: jastanle84
1 Replies

5. UNIX for Dummies Questions & Answers

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 (1 Reply)
Discussion started by: jose2204
1 Replies

6. UNIX for Dummies Questions & Answers

Deleted /etc/passwd file while accessing to our test server via putty

Hi I was accessing our linux test server via putty and By mistake i deleted /etc/passwd file..... It is allowing me to login..... So could anyone please help me out in this issue.... Please, it is urgent (6 Replies)
Discussion started by: rahul547
6 Replies

7. 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

8. Shell Programming and Scripting

Files not deleted in source server

I have connected to the source server by ftp command. when I tried to delete the file I am getting the permission error. delete file1.txt 450 No permission to delete /today1/file1.txt the files have below permission 150 File status okay; about to open data connection. drwx------ 0 ... (3 Replies)
Discussion started by: ramkumar15
3 Replies

9. Linux

Recover deleted files on Linux server

Hi Guys, Greetings!. I have executed the cronjob that runs the shell script which is in directory.When the cronjob was executed , I found that the directory where the script resides has got deleted. Note: The directory was deleted with other use not root user. The... (9 Replies)
Discussion started by: reminisce
9 Replies
info(4) 						     Kernel Interfaces Manual							   info(4)

NAME
info - diskless client configuration information file DESCRIPTION
The file is a POSIX shell sourceable file which contains parameter definitions used at boot time. Typically, it will be an empty file and default values will be used for all parameters. Following is the list of parameters which can be defined in the file: Specifies the IP address of the client's private root server. If this is not specified, the client's private root server defaults to the boot server. Specifies the pathname to the client's private root on the private root server. If this is not specified, the client's private root path defaults to Specifies the NFS mount options to mount the client's private root from the private root server. If this is not specified, the mount options default to Specifies the NFS mount options to mount the client's directory from the boot server. If this is not specified, the mount options default to Specifies whether NFS should be configured as primary swap. (NOTE: In order to swap to NFS, a diskless kernel must be configured with tunable parameter set to 1.) If a diskless machine has a local swap disk and swap to NFS is not desired, the parameter should be set to the value of 1 and the diskless kernel should be configured without setting to 1. If this parameter is not specified in the file and the kernel tunable parameter is set to 1, then NFS will be configured as primary swap. If not set, this parameter defaults to a value of 1, and results in the removal of all swapfiles above the configured swap minimum (swap is specified in the client's when a disk- less client boots. This ensures that extraneous swapfiles at boot time are removed, thus freeing disk space. If is set to 0 in the file, removal of extra swapfiles is disabled. This may result in faster boot times due to the time savings in creating additional swap files. The file resides in the same directory as the client's kernel () on the boot server and is retrieved at boot time using command. By default, when a diskless client is created, an empty file is placed in the client's kernel directory. This ensures that all parameters revert to their default values (see above). If the file is not present, this is an error. EXAMPLES
An example file is shown below: FILES
info(4)
All times are GMT -4. The time now is 09:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy