[Guide] Setup SSH ( CentOS Linux )
#1


 

 

OpenSSH Installations under CentOS Linux

 

To install the server type:

yum -y install openssh-server

 

Start the service:

chkconfig sshd on
service sshd start

 

Make sure port 22 is opened:

netstat -tulpn | grep :22

 

 

Firewall Settings

 

Edit /etc/sysconfig/iptables (IPv4 firewall),

vi /etc/sysconfig/iptables

 

Add the line

-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT

 

Save and close the file. Restart iptables:

service iptables restart

 

Download 2 for windows to connect to the Linux ssh server

 

Open WinSCP to be greeted with a login window, so click the NEW button (on the left find Connection -> Tunnel (click the Tunnel) then tick the box to connect through SSH tunnel an fill in the info.

 

Host = vbox lan ip

User = root

Pass = root password (reverse) if the pre-installed "snapshot" you can download.

 

Save!

 

Connect!

 

If it asks for info again just put the same again an it should connect.

 

Now you can enjoy easy file send/editing



Messages In This Thread
[No subject] - by Sutz - 11-05-2012, 07:02 PM
[No subject] - by MrBeaN - 11-06-2012, 04:30 PM
[No subject] - by DeChamp3 - 11-06-2012, 08:06 PM
[No subject] - by filix_93 - 11-06-2012, 08:43 PM
[No subject] - by DeChamp3 - 11-07-2012, 08:08 PM
[No subject] - by blade5000 - 11-08-2012, 10:54 AM
[No subject] - by DeChamp3 - 11-08-2012, 05:41 PM
[No subject] - by DeChamp3 - 11-09-2012, 04:47 PM
[No subject] - by Wizatek - 11-09-2012, 06:36 PM
[No subject] - by MrBeaN - 11-09-2012, 06:44 PM
[No subject] - by KillEveryThing - 11-09-2012, 09:44 PM
[No subject] - by TheQE - 11-10-2012, 05:04 PM
[No subject] - by Creep - 12-07-2012, 02:09 PM
[No subject] - by halohalo - 12-31-2012, 07:53 PM
[No subject] - by halohalo - 01-01-2013, 09:13 PM
[No subject] - by Peter - 01-20-2013, 04:53 PM
[No subject] - by halohalo - 01-20-2013, 08:56 PM
[No subject] - by Wizatek - 01-21-2013, 05:16 AM
[No subject] - by halohalo - 01-21-2013, 04:37 PM
[No subject] - by Wizatek - 01-21-2013, 04:53 PM
[No subject] - by halohalo - 01-23-2013, 04:32 AM
[No subject] - by Darquise - 02-09-2013, 03:19 PM
[No subject] - by Mr Perez - 02-25-2013, 03:52 PM
[No subject] - by xMostHateD - 07-22-2013, 06:33 PM
[No subject] - by bimbo123 - 07-26-2013, 11:29 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)