Quantcast
Channel: DIGCMS » Uncategorized
Viewing all articles
Browse latest Browse all 15

ssh configuration in redhat/fedora/centOS

$
0
0

ssh configuration is required as you need to work remotely on a server/client system through command. The authentication is on the basis of port number,password, ssh key.

Here is ssh configuration in linux. ssh package should be installed on your system.

To check the installed ssh package –

The configuration file of ssh –

The configuration changes are at the port number & specific ip address.If you want to give ssh access to some specific ip, then mention the ip in the ssh configuration file –

It is possible to mention the ssh_key in the configuration file itself.You can change the ssh key & its path as well.See the following procedure to create ssh key & its path & then restart the service.

Insert the same ssh service in chkconfig. So that the service should be on at each boot.

Now you can remotely connect to the system if your ip is – 192.168.0.10.

#ssh 192.168.0.5 -p 2222

where 192.168.0.5 is the server ip.

The post ssh configuration in redhat/fedora/centOS appeared first on DIG into CMS.


Viewing all articles
Browse latest Browse all 15

Trending Articles