LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 07-03-2012, 05:23 AM   #16
SpawnOfSatan
LQ Newbie
 
Registered: Jul 2012
Posts: 3

Rep: Reputation: Disabled

Ok so this is the norm here, so I posting to say thanks for the tip, it is still working in 2012

Thank you from the future !!!
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 07-09-2012, 03:08 AM   #17
wzyboy
LQ Newbie
 
Registered: May 2012
Location: PRC
Distribution: Xubuntu 12.02 LTS "Precise Pangolin"
Posts: 2

Rep: Reputation: Disabled
Thanks. I am from six years later.
 
Old 08-27-2012, 07:42 AM   #18
rickumali
LQ Newbie
 
Registered: Jan 2006
Location: Arlington, MA, USA.
Posts: 3

Rep: Reputation: 0
The response from macemoneta (#2) helped me too. Thank you!
 
Old 10-18-2012, 04:33 AM   #19
luc2
LQ Newbie
 
Registered: Oct 2012
Posts: 1

Rep: Reputation: Disabled
thanks from 2012
 
Old 12-19-2012, 06:15 AM   #20
danky78
LQ Newbie
 
Registered: Dec 2012
Posts: 1

Rep: Reputation: Disabled
I registered just to say.. Thanks dude!

I'm from 2 days before the end of the world
 
Old 02-07-2013, 01:34 PM   #21
avery
LQ Newbie
 
Registered: Feb 2013
Location: Brazil
Distribution: Fedora
Posts: 1

Rep: Reputation: Disabled
Thumbs up

The world is not over.
Thanks from 2013
 
Old 02-20-2013, 05:01 PM   #22
Democrite
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Rep: Reputation: 0
Thanks

It's the future here, and I want to thank you for this, it's awesome.
 
Old 04-07-2013, 07:38 PM   #23
jero
LQ Newbie
 
Registered: Apr 2013
Posts: 1

Rep: Reputation: Disabled
Thanks!

keeping up traditions 7 years later
 
Old 04-22-2013, 10:13 PM   #24
thanhtd
LQ Newbie
 
Registered: Nov 2011
Posts: 2

Rep: Reputation: Disabled
One more thank from the furture here.
 
Old 06-01-2013, 11:50 AM   #25
nemke
LQ Newbie
 
Registered: Jun 2013
Posts: 1

Rep: Reputation: Disabled
I just registered to tell you tnx! 7 years and 7 days later this was just what I was needed.
 
Old 06-01-2013, 05:23 PM   #26
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
an other thing you can do, 7 years later, is to create a config file in your ~/.ssh/ directory along these lines:

Code:
ssma-imac:.ssh ssma$ cat config 
Host	my_url.com
	Port		2222

Host	11.11.11.11
	Port		2222

Host	*
	Protocol	2
	ForwardAgent	yes
	ForwardX11	yes
	ServeraliveInterval	30
	ServerAliveCountMax	5
	TCPKeepAlive	yes
this way when you ssh user@my_url.com you do not need to pass the -p flag at all, this includes your rsync.
 
Old 07-18-2013, 01:19 PM   #27
smacedo
LQ Newbie
 
Registered: Jul 2013
Posts: 1

Rep: Reputation: Disabled
Hey! From July 2013 - thanks macemoneta - still working

(and rsync still does not have a more expedite way!
Also thanks lleb for the tip. Very good.

(I hate to register in forums... this is an exception for tradition sake only!)
 
Old 08-09-2013, 07:31 AM   #28
chejov
LQ Newbie
 
Registered: Aug 2013
Posts: 1

Rep: Reputation: Disabled
Here from seven years later to give thanks for all contributors, and to add my little coin:

To use rsync using a key:

rsync -av --progress --inplace --rsh='ssh -p8023 -i /somepath/private.key' somefile user@host:somedir/
 
Old 08-10-2013, 11:11 AM   #29
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Quote:
Originally Posted by masterross View Post
hi,

i want to connect via rsync to remote machine with ssh running on different port

can u assist me?

thanks,
Ross
check out my sig on the HOW TO create a config file for your ssh. This way you can rsync -<options> user@server without having to worry about quoting and ports ext...
 
Old 11-29-2013, 06:35 AM   #30
sirius2x
LQ Newbie
 
Registered: Nov 2013
Posts: 1

Rep: Reputation: Disabled
thanks
 
  


Reply

Tags
port, rsh, rsync, ssh



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
rsync->ssh port lackluster Linux - Software 2 05-27-2007 08:42 PM
rsync and ssh? IchBin Linux - Newbie 4 02-13-2005 03:41 PM
rsync and ssh port ohcarol Linux - Software 2 12-22-2004 10:29 AM
Rsync vs ssh satimis Linux - Software 7 04-04-2004 06:58 AM
Rsync and SSH Phaethar Linux - Software 3 03-22-2004 03:18 PM

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

All times are GMT -5. The time now is 04:04 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
Open Source Consulting | Domain Registration