LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-09-2014, 04:11 AM   #1
skoda
Member
 
Registered: Jun 2013
Posts: 111

Rep: Reputation: Disabled
Setting Up an SSH Connection


Hello,

i want to use my centos gnome terminal to connect via ssh to our server which is having an address like this 16x.13x.168.10x:5555

i tried

Quote:
[root@localhost ~]# ssh -D 16x.13x.168.10x:5555
does not work. pls advise.

Last edited by skoda; 05-10-2014 at 11:18 AM.
 
Old 05-09-2014, 04:23 AM   #2
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,385

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Thusly
Quote:
Originally Posted by man ssh
Code:
     -p port
             Port to connect to on the remote host.  This can be specified on
             a per-host basis in the configuration file.
 
1 members found this post helpful.
Old 05-09-2014, 05:10 PM   #3
DJ Shaji
Member
 
Registered: Dec 2004
Distribution: Fedora 22 (Twenty Two!), ArchLinux
Posts: 506
Blog Entries: 15

Rep: Reputation: 106Reputation: 106
Thumbs up DJ Shaji really likes this

Quote:
Originally Posted by descendant_command View Post
Thusly
Made me laugh real hard
 
Old 05-09-2014, 08:25 PM   #4
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
i would not ssh via root, but here is the command:

Code:
ssh -p 5555 user@IP_ADDRESS
again ssh via root = bad idea

Last edited by lleb; 05-10-2014 at 12:45 PM.
 
1 members found this post helpful.
Old 05-10-2014, 11:27 AM   #5
skoda
Member
 
Registered: Jun 2013
Posts: 111

Original Poster
Rep: Reputation: Disabled
Hai folks,
thanks for the help,
works charm!!!
 
Old 05-10-2014, 11:29 AM   #6
skoda
Member
 
Registered: Jun 2013
Posts: 111

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by lleb View Post
i would not ssh via root, but here is the command:

Code:
ssh -p 5555 user@xxxxxxxxxx
again ssh via root = bad idea
would be great full to you if you can mask the ip in your comment
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
ssh: connection to host port: 22: Connection timed out lost connection cucolin@ Linux - Server 4 11-22-2011 07:15 AM
Problem setting up ssh connection lazylogic Debian 7 10-02-2008 06:13 PM
LXer: ssh-xfer: Quickly grabbing files over an existing SSH connection LXer Syndicated Linux News 0 08-08-2008 04:11 PM
ssh connection refused - trying to set up ssh server at home openSauce Linux - Server 10 10-18-2007 05:38 PM
problem setting up ssh connection amit666 Linux - Newbie 1 01-30-2004 05:01 PM


All times are GMT -5. The time now is 12:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration