answersLogoWhite

0


Best Answer

I assume you mean the user's ssh directory, which is stored in their home directory. Use the following command:

rm -rf .ssh

This will remove any previously used and verified ssh connections so any connections after that via ssh will need to be verified.

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you remove the ssh dir in unix?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the .ssh directory on Unix used for?

Typically, programs store program information in hidden files in your home directory. The 'ssh' program stores cached host keys in the ".ssh" folder.


What command would you use to remove a directory on a UNIX server?

If you are just removing the directory, use the command: rmdir dir-name The dir-name directory has to be empty for this to work. If there are files or other subdirectories then use the command: rm -rf dir-name


What is the command in unix to connect to remote terminals?

ssh or telnet in company environment mostly we used ssh and there is one tool called putty, through putty we can connect.


What is the command to connect to remote terminals in unix?

Under Windows the command is mstsc.Microsoft terminal server connection


Is there any unix server to which you can connect through putty?

Most Unix/Linux servers allow SSH (via putty). There is no general one that anyone can use, however. You need to talk to your provider to see what is available to you.


Why to use putty and is there any difference between unix and putty?

putty is an application program; Unix is an operating system (they aren't the same thing). putty is a secure telnet replacement using ssh to encrypt the data transmission flow.


How do you log into Unix?

You can log in via telnet or ssh protocol for a command line prompt environment to Unix, or you can use a graphical user interface such as KDE or Gnome, or the CDE environment via X-windows. In any of these protocols, you must supply a username and password to successfully log into the Unix system.


What operating systems support Secure socket tunneling protocol?

Most modern operating systems (Windows, Linux, Unix, mainframes) support SSH and SSL.


What would the syntax of a command to list all documents in a directory that have the extension doc?

For windows: dir *.doc For Unix/Linux: ls *.doc


What command do you use to remove multiple directories?

1. To remove multiple directories rm -r <dir 1> <dir 2> <dir 3> 2. To remove recursive directories rm -r <directory name> you may have to use the -f (force) flag for non empty directories


What is SSH?

An SSH server is a daemon that listens for requests to log in using SSH from remote computers. SSH basically allows you to control a Linux or Unix computer just as if you were sitting at the physical machine.


What is puTTY used for?

PuTTY is a program for Microsoft Windows that allows you to control a computer running a Linux or Unix-based operating system via SSH using a command-line interface.