LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-15-2011, 02:14 PM   #16
splinux
Member
 
Registered: Jun 2011
Location: Sri Lanka
Distribution: centos,redhat,ubuntu
Posts: 90

Original Poster
Rep: Reputation: Disabled

I have checked
it is showing 112.135.215.62 is responding on port 22 (ssh) [ in RED COLOUR ]

after that i tried ssh 112.135.215.62
i got this message
ssh: connect to host 112.135.215.62 port 22: connection refused..

I am using centos in virtual box.. i did network adapter as bridge mode..
 
Old 06-15-2011, 02:21 PM   #17
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
It works from here
Code:
repo@cannabis ~]$ ssh x.x.x.62
repo@x.x.x.62's password: 
Permission denied, please try again.
repo@x.x.x.62's password: 
Permission denied, please try again.
repo@x.x.x.62's password: 
Permission denied (publickey,gssapi-with-mic,password).
repo@cannabis ~]$
Some routers have problems connecting from the inside to the outside and back in.

I would suggest to remove the IP in your post though.

Kind regards
 
Old 06-15-2011, 02:26 PM   #18
splinux
Member
 
Registered: Jun 2011
Location: Sri Lanka
Distribution: centos,redhat,ubuntu
Posts: 90

Original Poster
Rep: Reputation: Disabled
When i restart the my ip will change. ok thx for ur information..
is it working ? r u getting the password prompt ?
why it is not working for me from in site ? wht is the special setting for it ?
 
Old 06-15-2011, 02:28 PM   #19
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Some routers don't support this.

Kind regards
 
Old 06-15-2011, 02:53 PM   #20
splinux
Member
 
Registered: Jun 2011
Location: Sri Lanka
Distribution: centos,redhat,ubuntu
Posts: 90

Original Poster
Rep: Reputation: Disabled
Thanks of lot Repo.. It is working fine.
Instead of port forwarding. We can do in iptables ?
can u tell rules how to write ?
now time @ 1.24AM
 
Old 06-15-2011, 03:00 PM   #21
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
Instead of port forwarding. We can do in iptables ?
You need port forwarding on the router.
In the firewall, you can open port 22
Here you can find a Firewall Generator for IPTables
http://connie.slackware.com/~alien/efg/

Kind regards
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Do you have a local or public server at home? blahblalblah General 6 03-11-2011 01:48 PM
automatic login by using ssh but with out creating public key siris Programming 2 04-12-2010 07:40 AM
Home mail server with dynamic IP treepalm58 Linux - Networking 7 12-31-2006 03:58 PM
Home web server and dynamic IP xchido Fedora 5 03-10-2006 04:33 PM
ssh public key authentication to different remote home directory shawn_t Linux - Networking 2 03-20-2005 03:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration