Sponsored Content
Operating Systems Linux Red Hat I cannot connect my redhat server via putty Post 302769574 by lupin..the..3rd on Tuesday 12th of February 2013 04:17:53 PM
Old 02-12-2013
First you need to make sure SSHD is set to start when you boot up. Run:

ntsysv

And check the box next to sshd.

Then you need to make sure sshd is currently running:

/etc/init.d/sshd status

If it isn't running, start it:

/etc/init.d/sshd start

Then you need to open the port in your RHEL firewall. Run:

system-config-securitylevel-tui

And check the box next to SSH to allow inbound connections.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Dowe have other tools like Putty to connect UNIX boxes

New to UNIX, do we have only putty to work with UNIX boxes remotely ?????? any other tools.. (1 Reply)
Discussion started by: nivaspIND
1 Replies

2. UNIX for Advanced & Expert Users

How to connect ubuntu through putty from Window?

Hii, i have installed ubuntu in windows without make partitioning by using wubi.. i want to connect ubuntu linux through putty. but I am unable to do that. Please help me.. how to set ip address in putty (3 Replies)
Discussion started by: pankajkumar
3 Replies

3. Red Hat

putty and Redhat

Hi, I use putty and vncviewer on XP to get screen form the RH Enterprise ws 6.0 . Although it has high quality of graphics scrolling down leads to blinks on screen which is annoying while using EDA design tools. Is there anyway to utilize putty (with some extra tool) so that EDA design tool... (2 Replies)
Discussion started by: titanic
2 Replies

4. Linux

Help!! trying to connect to linux SSH from windows putty client

Hi, i am trying to connect my Putty session on a windows box to a linux SSH, i have generated private and public key pairs using puttygen, i have set the public one to be in an OPENSSH format... and have put this in my authorized_keys file in linux, when i connect i get the following errors: ... (1 Reply)
Discussion started by: Jtyreman
1 Replies

5. Ubuntu

Login from putty in wndows7 to connect ubuntu machine

hi, i have ubuntu installed on windows 7. I am trying to connecting to ubuntu from windows 7 using putty but it is giving network problem. I am trying to connect with ip address Thanks (9 Replies)
Discussion started by: diehard
9 Replies

6. Red Hat

Redhat server is not connected via putty

i have a redhat linux 5.3 machine. i can ping that machine remotely from my laptop. but when i connect that server via putty after providing username and password there is wait for some minutes and then i get error message "server unexpectedly closed network connection" Please guide... (2 Replies)
Discussion started by: rehantayyab82
2 Replies

7. Linux

Generate public key to connect from one ftp server to other server

How to generate public key to connect from one ftp server to other server to use in scripting. (0 Replies)
Discussion started by: sridhardwh
0 Replies

8. UNIX for Advanced & Expert Users

Public key to connect from one ftp server to other server

How to generate public key to connect from one ftp server to other server to use in scripting. (1 Reply)
Discussion started by: sridhardwh
1 Replies

9. Shell Programming and Scripting

Connect (SSH) to Windows server via Linux server through a script and passing command.. but failing

I am trying to connect to Windows server via Linux server through a script and run two commands " cd and ls " But its giving me error saying " could not start the program" followed by the command name i specify e g : "cd" i am trying in this manner " ssh username@servername "cd... (5 Replies)
Discussion started by: sunil seelam
5 Replies

10. Linux

How to connect Linux server (configure two way authentication) with Windows server?

Hi my name is Manju. ->I have configure the two way authentication on my linux server. ->Now I am able to apply two way authenticator on particuler user. ->Now I want to map this linux server to my AD server. ->Kindly tell me how to map AD(Active Directory) with this linux server. ... (0 Replies)
Discussion started by: manjusharma128
0 Replies
MONGOCONNECTIONEXCEPTION(3)						 1					       MONGOCONNECTIONEXCEPTION(3)

The MongoConnectionException class

INTRODUCTION
Thrown when the driver fails to connect to the database. There are a number of possible error messages to help you diagnose the connection problem. These are: o No candidate servers found Thrown when the driver cannot establish a connection to MongoDB (fulfilling the ReadPreferences, if specified). o No server name given. This error occurs if you pass in "" as the server name, probably because of an typo with string interpola- tion, e.g., "$servr" instead of "$server". o failed to get host [hostname] or port [portnum] from [server]. This indicated that the server string was malformed. "[hostname]" and "[portnum]" will be as much as the driver could dicipher of it. o Operation in progress Connecting to the database timed out. o Transport endpoint is not connected Generally means that the connection string isn't correct, the driver couldn't even find the database server. o couldn't determine master No server in a replica set connection was identified as the primary. o couldn't get host info for [server] This indicated that DNS could not resolve the server address you gave. This could easily be caused by a typo, for example, "server" instead of "$server". o Invalid Argument This can be caused by attempting to connect to a machine that is up but that the database isn't actually running on. Make sure that you've started the database server before connecting. o Permission denied This means that the socket could not be opened due to permissions issues. On Red Hat variants, this can be caused by a default setting that does not allow Apache to create network connections. You can override this setting by running: $ /usr/sbin/setsebool -P httpd_can_network_connect 1 If the error message is not listed above, it is probably an error from the C socket, and you can search the web for its usual cause. CLASS SYNOPSIS
MongoConnectionException MongoConnectionExceptionextends MongoException PHP Documentation Group MONGOCONNECTIONEXCEPTION(3)
All times are GMT -4. The time now is 01:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy