Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 25th June 2012, 04:01 PM
nonamedotc's Avatar
nonamedotc Offline
Formerly known as"professorrmd"
 
Join Date: Mar 2011
Posts: 2,627
linuxfirefox
vncviewer with ssh port changed

In all my installations, I change the default ssh port from 22 to something else - say 2345. I have never had any problems, of course, till now. But now, I need to start using vncviewer to connect to a computer in my research lab using vncviewer using this

Code:
vncviewer -via username@###.##.##.### 127.0.0.1:18 -geometry 1160x900
For connecting, this authenticates via ssh and does not work with my changed port number and expects 22.

I only port related option I know of is -- listen. But, as per my understanding, it has nothing to do with ssh port. Could anyone tell me how I can pass my ssh port number for establishing the connection? Thanks.
Reply With Quote
  #2  
Old 25th June 2012, 04:54 PM
flyingfsck Offline
Registered User
 
Join Date: Aug 2010
Location: Al Ain, UAE
Posts: 1,057
linuxfirefox
Re: vncviewer with ssh port changed

Set the default port to use in the ssh configuration file in /etc/ssh
Reply With Quote
  #3  
Old 25th June 2012, 05:07 PM
nonamedotc's Avatar
nonamedotc Offline
Formerly known as"professorrmd"
 
Join Date: Mar 2011
Posts: 2,627
linuxfirefox
Re: vncviewer with ssh port changed

I am not sure I understand. The sshd_config file under /etc/ssh is where I have changed the port number in the first place. The computer I connect to has port 22 open whereas mine does not.

I am looking for something analogous to

Code:
ssh -p 22 user@destination
but for vnc to understand and use, I guess(?).
Reply With Quote
  #4  
Old 25th June 2012, 06:20 PM
flyingfsck Offline
Registered User
 
Join Date: Aug 2010
Location: Al Ain, UAE
Posts: 1,057
linuxfirefox
Re: vncviewer with ssh port changed

Sshd_config is for the sshd daemon on the server. You got to change the other config file, the one for ssh - the client - on every machine that you use as a client.
Reply With Quote
  #5  
Old 25th June 2012, 06:35 PM
nonamedotc's Avatar
nonamedotc Offline
Formerly known as"professorrmd"
 
Join Date: Mar 2011
Posts: 2,627
linuxfirefox
Re: vncviewer with ssh port changed

Sweet! I did mess it up. Thanks for pointing it out. Problem solved.
Reply With Quote
Reply

Tags
changed, port, ssh, vncviewer

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VNCviewer password sigmaz1980 Servers & Networking 0 11th May 2011 12:19 AM
FC8 Built-in VNCViewer? Maine Jeff Servers & Networking 1 5th January 2008 08:48 PM
vncviewer - where are you cuongvt Servers & Networking 2 13th August 2006 02:51 AM
vncviewer paul_dundee Using Fedora 2 13th April 2005 03:15 PM


Current GMT-time: 23:31 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat