LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-16-2013, 11:26 AM   #1
ryan.mongeau
LQ Newbie
 
Registered: Aug 2013
Location: Sterling, MA
Distribution: Debian 6.0
Posts: 9

Rep: Reputation: Disabled
How do I change the port for Unison?


I want to change the port ssh uses. I can successfully do this, but unison also depends on the same port so it cannot establish a connection. I cannot find a clear definition on how to do this. Has anyone successfully done so? Any information would be greatly appreciated; I use Debian. Thank you.
 
Old 09-16-2013, 11:34 AM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
unison version and how was it installed please?
 
Old 09-16-2013, 12:41 PM   #3
ryan.mongeau
LQ Newbie
 
Registered: Aug 2013
Location: Sterling, MA
Distribution: Debian 6.0
Posts: 9

Original Poster
Rep: Reputation: Disabled
Hello,
I am using unison 2.32.52 installed via apt-get.
 
Old 09-16-2013, 02:00 PM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
It's not clear to me how this is done using unison over ssh, Sorry.
http://www.cis.upenn.edu/~bcpierce/u...on-manual.html
discusses how various ssh components and/or arguments go together.

Seems rsync may be less problematic...?
 
Old 09-16-2013, 02:17 PM   #5
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,545

Rep: Reputation: 1840Reputation: 1840Reputation: 1840Reputation: 1840Reputation: 1840Reputation: 1840Reputation: 1840Reputation: 1840Reputation: 1840Reputation: 1840Reputation: 1840
The manual says:
Quote:
Extra arguments can be passed to ssh by setting the -sshargs preference.
You could add -p port there. Also it doesn't say this explicitly, but since it allows "ssh://username@remotehostname/a.tmp" maybe "ssh://username@remotehostname:port/a.tmp" would work too.
 
1 members found this post helpful.
Old 09-16-2013, 03:46 PM   #6
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
-sshargs xxx other arguments (if any) for remote shell command
 
  


Reply

Tags
debian, port, ssh, unison


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
Tomcat6 stops listening on port 80 when i change from port 8080 to port 80 trongthect Linux - Server 1 07-27-2012 06:41 PM
SFTP server port blocked on Uni network, need to change the listening port. sammyboy161 Linux - Newbie 2 10-21-2010 01:03 PM
PLESK [Solution] Change port to 23 (telnet) instead of default port 8443 x5452 Linux - Software 6 05-10-2009 06:58 AM
If i change my apache port 80 to another port, can this affect google listings? Doomhammer Linux - Networking 4 03-16-2007 09:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:13 AM.

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