Cent OS 7 SSH Putty

Posted on 2014-09-02
Last Modified: 2014-09-02
I need to access my Cent OS box from Putty ... how do I set that up? Or is it just a port forward I need to make on the router? It's a standard install.
Question by:Starquest321
    LVL 10

    Accepted Solution

    OpenSSH is already installed by default so there's nothing you should need to do on the server.  On your router you just need to forward port 22 on TCP.  If you want to harden it more there's a great article here:
    LVL 8

    Assisted Solution


    If you need to connect to your CentOS using putty ( ssh ) from outside , as convergint said you need to perform a port forward on port 22, also verify ssh daemon is running  running the following:

    service sshd status -- u shall get a message saying is running in case is not then start it
    service sshd start

    Check if you have enabled the iptables on ur Centos ( Linux Firewall)

    service iptables status --- > if they are running u have two options define a rule in order 22 port be opened or disabled

    service iptables stop

    if you define u want to keep running iptables then define the rule to allow ssh ( port 22) be opened

    vi /etc/sysconfig/iptables

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

    reload the service

    service iptables restart

    At this point u can test ur ssh service if you are connected on the same network

    Finally depends of the router vendor perform a port forward on port 22


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
    The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now