VNC thru SSH
I am testing out VNC with my new Linux Machine. RHEL 6 64bit.
I am very new to linux and I am trying to get the hang of it.
I can remote into my Windows Machine from my linux machine using just vnc and it works just fine but this is not secure.
I try to configure my ssh session through putty and I either get a black screen that shows nothing or I get a connection refused error when try to connect my ssh connection.
Any help is appreciated.
On the RHEL box:
Is the SSH daemon running?
If not, start it: Is the firewall getting in the way? Temporarily disable it:
service sshd status
netstat -tulnp|grep sshd
What is in your system logs?
service iptables stop
When trying to log in with SSH/Putty, are you using a valid username for the RHEL box? The root account might be disabled by default. Also, check for a list of permitted users in the SSH daemon config file:
To get more details on the SSH config file:
egrep -i ^'PermitRoot|AllowUsers' /etc/ssh/sshd_config