9.0-PRERELEASE slow scp transfer

2011-11-22 Thread Bas Smeelen
Hi I have a stange thing. 1. 7.3-RELEASE-p2 on dell poweredge SC440 with bge nic 2. 9.0-PRERELEASE on another dell poweredge SC440 bge nic 3. 7.4-RELEASE-p4 in a vmware virtual machine with em nic When i copy a file with scp which is a few hundred megabytes on 1. from 2. or from 3. i get about

Re: 9.0-PRERELEASE slow scp transfer

2011-11-22 Thread Matthew Seaman
On 22/11/2011 15:17, Bas Smeelen wrote: When i copy a file with scp which is a few hundred megabytes on2. from 1.i get about 130 KB/s I can find nothing in the logs or netstat errors on this 9.0-PRERELEASE box. I have switched network kabels and ports on the switch. How could i further

BUG: scp -pr does not copy directories that have ':' sign in their names

2011-11-19 Thread Коньков Евгений
HI, Tri. scp -pr * name@host:/home/dir does not copy files which have ':' sign in their names -- С уважением, Коньков mailto:kes-...@yandex.ru ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman

Any way to have login output AND use rsync/scp ?

2011-05-01 Thread George Sanders
I have my .cshrc file run some basic netstat and 'w' commands so that when I log in, I can see at a glance what is going on on the system and notice any unusual login activity, etc. However this completely breaks both scp and rsync - they cannot function at all (apparently) with any kind

Re: Any way to have login output AND use rsync/scp ?

2011-05-01 Thread Robert Bonomi
Date: Sun, 1 May 2011 15:58:45 -0700 (PDT) From: George Sanders gosand1...@yahoo.com Subject: Any way to have login output AND use rsync/scp ? I have my .cshrc file run some basic netstat and 'w' commands so that when I log in, I can see at a glance what is going on on the system

Re: Any way to have login output AND use rsync/scp ?

2011-05-01 Thread Polytropon
this completely breaks both scp and rsync - they cannot function at all (apparently) with any kind of stdio output from the shell. Is there any way around this ? Create a file ~/.login and put your commands (in sh syntax, not csh) there. This file will only be executed at interactive logins. See man

Re: Any way to have login output AND use rsync/scp ?

2011-05-01 Thread Polytropon
on on the system and notice any unusual login activity, etc. However this completely breaks both scp and rsync - they cannot function at all (apparently) with any kind of stdio output from the shell. Is there any way around this ? Create a file ~/.login and put your commands (in sh

Re: how do i scp .dotfiles??

2010-09-02 Thread Gary Kline
On Tue, Aug 31, 2010 at 02:48:28PM +0100, krad wrote: On 30 August 2010 20:02, Chris Rees utis...@gmail.com wrote: On 30 August 2010 18:37, krad kra...@googlemail.com wrote: On 27 August 2010 20:13, Polytropon free...@edvax.de wrote: On Fri, 27 Aug 2010 12:21:12 -0500, Gary Gatten

Re: how do i scp .dotfiles??

2010-09-02 Thread Lowell Gilbert
Gary Kline kl...@thought.org writes: Just to make =sure= about this: can using tar/gtar as root [or sudo] make sure that all the permissions are correct? It =may= save me keystrokes, :_) Permissions, yes. If you want flags, you'll need the base system tar.

Re: how do i scp .dotfiles??

2010-08-31 Thread krad
On 30 August 2010 20:02, Chris Rees utis...@gmail.com wrote: On 30 August 2010 18:37, krad kra...@googlemail.com wrote: On 27 August 2010 20:13, Polytropon free...@edvax.de wrote: On Fri, 27 Aug 2010 12:21:12 -0500, Gary Gatten ggat...@waddell.com wrote: Rename them, copy, then rename

Re: Advantage -vs- Disadvantage: SFTP -vs- SCP

2010-08-31 Thread krad
On 30 August 2010 18:38, Adam Vande More amvandem...@gmail.com wrote: On Mon, Aug 30, 2010 at 12:30 PM, krad kra...@googlemail.com wrote: sounds like a bodge to me Sounds like FUD to me. -- Adam Vande More maybe but why install extra things when you dont have to.

Re: Advantage -vs- Disadvantage: SFTP -vs- SCP

2010-08-31 Thread Chris Rees
install extra things when you dont have to. Because this allows people to use scp and nothing else; mooting your argument: ''SFTP is better than scp if you just want to transfer files, as the users dont have to have shell access to the box to use the openssh SFTP system. [snip]'' How difficult

Re: Advantage -vs- Disadvantage: SFTP -vs- SCP

2010-08-31 Thread krad
Sounds like FUD to me. -- Adam Vande More maybe but why install extra things when you dont have to. Because this allows people to use scp and nothing else; mooting your argument: ''SFTP is better than scp if you just want to transfer files, as the users dont have to have

Re: Advantage -vs- Disadvantage: SFTP -vs- SCP

2010-08-31 Thread Chris Rees
...@googlemail.com wrote: sounds like  a bodge to me Sounds like FUD to me. -- Adam Vande More maybe but why install extra things when you dont have to. Because this allows people to use scp and nothing else; mooting your argument: ''SFTP is better than scp if you just want

Re: Advantage -vs- Disadvantage: SFTP -vs- SCP

2010-08-31 Thread Adam Vande More
On Tue, Aug 31, 2010 at 10:27 AM, krad kra...@googlemail.com wrote: ill repeat but why install extra things when you dont have to?. I dont think i mentioned difficulty did i? In addition to moving to a more tightly integrated OpenSSL derivative and the benefits from such a move, SCP

Re: Advantage -vs- Disadvantage: SFTP -vs- SCP

2010-08-30 Thread krad
On 30 August 2010 06:00, Adam Vande More amvandem...@gmail.com wrote: On Fri, Aug 27, 2010 at 3:39 AM, krad kra...@googlemail.com wrote: SFTP is better than scp if you just want to transfer files, as the users dont have to have shell access to the box to use the openssh SFTP system

Re: how do i scp .dotfiles??

2010-08-30 Thread krad
On 27 August 2010 20:13, Polytropon free...@edvax.de wrote: On Fri, 27 Aug 2010 12:21:12 -0500, Gary Gatten ggat...@waddell.com wrote: Rename them, copy, then rename them back? Not good for a whole bunch of files; in this case: tar them together, transfer the archive, untar it; rename

Re: Advantage -vs- Disadvantage: SFTP -vs- SCP

2010-08-30 Thread Adam Vande More
On Mon, Aug 30, 2010 at 12:30 PM, krad kra...@googlemail.com wrote: sounds like a bodge to me Sounds like FUD to me. -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To

Re: how do i scp .dotfiles??

2010-08-30 Thread krad
Barber glen.j.bar...@gmail.com wrote: On 8/27/10 1:07 PM, Gary Kline wrote: guys, this is the start of my master switchover. how to i copy/scp,say, ~/.purpur to home/kline/.purple? along with many hundreds of other dot files? scp doesn't do it. tx, scp u

Re: how do i scp .dotfiles??

2010-08-30 Thread Chris Rees
On 30 August 2010 18:37, krad kra...@googlemail.com wrote: On 27 August 2010 20:13, Polytropon free...@edvax.de wrote: On Fri, 27 Aug 2010 12:21:12 -0500, Gary Gatten ggat...@waddell.com wrote: Rename them, copy, then rename them back? Not good for a whole bunch of files; in this case: tar

nopassword ssh/scp going from freebsd to ubuntu linux?

2010-08-30 Thread Gary Kline
can anybody point me to the web directions of howto automate the % ssh -i /home/kline/.ssh/Zeropasswd-id zen so i can get around with fewer keystrokes? and automate some backup stuff? tia, guys. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.83a

Re: how do i scp .dotfiles??

2010-08-29 Thread Polytropon
file home.dump to pipe the data directly to a transfer via scp. On the target machine, # cd /home # restore -rf /where/is/home.dump You can connect both commands with ssh so you can directly dump + restore from machine A to machine B, given that SSH is possible. It then would

Re: how do i scp .dotfiles??

2010-08-29 Thread Randal L. Schwartz
'Gary == 'Gary Kline' kl...@thought.org writes: 'Gary at least for me, gtar fails to pick up dotfiles. How did you invoke it? There's a big difference between: cd $HOME gtar cfz /tmp/xx.tgz . # should get everything and cd $HOME gtar cfz /tmp/xx.tgz * # will miss all the

Re: how do i scp .dotfiles??

2010-08-29 Thread 'Gary Kline'
On Sun, Aug 29, 2010 at 07:06:33AM -0700, Randal L. Schwartz wrote: 'Gary == 'Gary Kline' kl...@thought.org writes: 'Garyat least for me, gtar fails to pick up dotfiles. How did you invoke it? There's a big difference between: cd $HOME gtar cfz /tmp/xx.tgz . # should

Re: how do i scp .dotfiles??

2010-08-29 Thread Randal L. Schwartz
'Gary == 'Gary Kline' kl...@thought.org writes: There's a big difference between: cd $HOME gtar cfz /tmp/xx.tgz . # should get everything and cd $HOME gtar cfz /tmp/xx.tgz * # will miss all the dotfiles Did you do the latter, by chance? 'Gary Sure. my default is the asterisk.

Re: how do i scp .dotfiles??

2010-08-29 Thread Polytropon
On Sun, 29 Aug 2010 12:12:11 -0700, mer...@stonehenge.com (Randal L. Schwartz) wrote: 'Gary == 'Gary Kline' kl...@thought.org writes: There's a big difference between: cd $HOME gtar cfz /tmp/xx.tgz . # should get everything and cd $HOME gtar cfz /tmp/xx.tgz * # will miss

Re: how do i scp .dotfiles??

2010-08-29 Thread 'Gary Kline'
On Sun, Aug 29, 2010 at 12:12:11PM -0700, Randal L. Schwartz wrote: 'Gary == 'Gary Kline' kl...@thought.org writes: There's a big difference between: cd $HOME gtar cfz /tmp/xx.tgz . # should get everything and cd $HOME gtar cfz /tmp/xx.tgz * # will miss all the dotfiles

Re: how do i scp .dotfiles??

2010-08-29 Thread Gary Kline
On Sun, Aug 29, 2010 at 09:34:59PM +0200, Polytropon wrote: On Sun, 29 Aug 2010 12:12:11 -0700, mer...@stonehenge.com (Randal L. Schwartz) wrote: 'Gary == 'Gary Kline' kl...@thought.org writes: There's a big difference between: cd $HOME gtar cfz /tmp/xx.tgz . # should get

Re: how do i scp .dotfiles??

2010-08-29 Thread Mike Clarke
On Sunday 29 August 2010, Polytropon wrote: The problem (i. e. a convention) is that .* is not part of *, which includes everything else, even nothing, and the form *.* (that looks like the DOS equivalent of all files) does seem to omit .*; the spaced form * .* would work as it contains *

Re: Advantage -vs- Disadvantage: SFTP -vs- SCP

2010-08-29 Thread Matthew Seaman
Dear Sir/Madam, Your email was unable reach the intended person that you were sending it to. For more information on our business please click on the following link: [1]Click here for our website We look forward to your continued business in the future. Regards,

Re: Advantage -vs- Disadvantage: SFTP -vs- SCP

2010-08-29 Thread Adam Vande More
On Fri, Aug 27, 2010 at 3:39 AM, krad kra...@googlemail.com wrote: SFTP is better than scp if you just want to transfer files, as the users dont have to have shell access to the box to use the openssh SFTP system. As mentioned above dont confuse sftp with ftps/ftp-ssl /usr/ports/shells

Re: how do i scp .dotfiles??

2010-08-28 Thread 'Gary Kline'
afterwards if needed. :-) If i'm going to rename, say, ~/.Plans to ~/Plans and ~/.HowtoI18 to ~/HowtoI18, I may just scp -rp every ~/[.] file. the idea of using find to collect a tarball may work. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa

Re: how do i scp .dotfiles??

2010-08-28 Thread Chris Rees
them together, transfer the archive, untar it; rename afterwards if needed. :-) If i'm going to rename, say, ~/.Plans to ~/Plans and ~/.HowtoI18 to ~/HowtoI18, I may just scp -rp every ~/[.] file.  the idea of using find to collect a tarball may work. How about: $ tar cjf - *dotfile

Re: how do i scp .dotfiles??

2010-08-28 Thread Matthew Seaman
, transfer the archive, untar it; rename afterwards if needed. :-) If i'm going to rename, say, ~/.Plans to ~/Plans and ~/.HowtoI18 to ~/HowtoI18, I may just scp -rp every ~/[.] file. the idea of using find to collect a tarball may work. I've been reading this thread, and I'm somewhat at a loss

Re: how do i scp .dotfiles??

2010-08-28 Thread 'Gary Kline'
? Not good for a whole bunch of files; in this case: tar them together, transfer the archive, untar it; rename afterwards if needed. :-) If i'm going to rename, say, ~/.Plans to ~/Plans and ~/.HowtoI18 to ~/HowtoI18, I may just scp -rp every ~/[.] file. the idea of using find to collect

Re: Advantage -vs- Disadvantage: SFTP -vs- SCP

2010-08-27 Thread krad
On 27 August 2010 06:19, Matthew Seaman m.sea...@infracaninophile.co.ukwrote: On 26/08/2010 23:07:35, Ed Flecko wrote: I have a server I'm building that is internet accessible and I'm wondering if there's any advantages/disadvantages of using either SFTP -vs- SCP? My primary concern

how do i scp .dotfiles??

2010-08-27 Thread Gary Kline
guys, this is the start of my master switchover. how to i copy/scp,say, ~/.purpur to home/kline/.purple? along with many hundreds of other dot files? scp doesn't do it. tx, gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.83a release

Re: how do i scp .dotfiles??

2010-08-27 Thread Glen Barber
On 8/27/10 1:07 PM, Gary Kline wrote: guys, this is the start of my master switchover. how to i copy/scp,say, ~/.purpur to home/kline/.purple? along with many hundreds of other dot files? scp doesn't do it. tx, scp u...@foo:\.dotfile .dotfile Regards, -- Glen Barber

RE: how do i scp .dotfiles??

2010-08-27 Thread Gary Gatten
Rename them, copy, then rename them back? -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Gary Kline Sent: Friday, August 27, 2010 12:08 PM To: FreeBSD Mailing List Subject: how do i scp .dotfiles?? guys

Re: how do i scp .dotfiles??

2010-08-27 Thread Bill Campbell
On Fri, Aug 27, 2010, Gary Kline wrote: guys, this is the start of my master switchover. how to i copy/scp,say, ~/.purpur to home/kline/.purple? along with many hundreds of other dot files? scp doesn't do it. scp -r to recursively copy directories? That should get everything in each

Re: how do i scp .dotfiles??

2010-08-27 Thread Jason Helfman
On Fri, 27 Aug 2010 13:19:40 -0400 Glen Barber glen.j.bar...@gmail.com wrote: On 8/27/10 1:07 PM, Gary Kline wrote: guys, this is the start of my master switchover. how to i copy/scp,say, ~/.purpur to home/kline/.purple? along with many hundreds of other dot files? scp doesn't do

Re: how do i scp .dotfiles??

2010-08-27 Thread Gary Kline
On Fri, Aug 27, 2010 at 10:29:14AM -0700, Bill Campbell wrote: On Fri, Aug 27, 2010, Gary Kline wrote: guys, this is the start of my master switchover. how to i copy/scp,say, ~/.purpur to home/kline/.purple? along with many hundreds of other dot files? scp doesn't do it. scp -r

Re: how do i scp .dotfiles??

2010-08-27 Thread Gary Kline
On Fri, Aug 27, 2010 at 10:25:01AM -0700, Jason Helfman wrote: On Fri, 27 Aug 2010 13:19:40 -0400 Glen Barber glen.j.bar...@gmail.com wrote: On 8/27/10 1:07 PM, Gary Kline wrote: guys, this is the start of my master switchover. how to i copy/scp,say, ~/.purpur to home/kline

Re: how do i scp .dotfiles??

2010-08-27 Thread Jason
switchover. how to i copy/scp,say, ~/.purpur to home/kline/.purple? along with many hundreds of other dot files? scp doesn't do it. tx, scp u...@foo:\.dotfile .dotfile Regards, Use rsync over ssh. i've already done 98 or so straight scp copies. the thing is how

Re: how do i scp .dotfiles??

2010-08-27 Thread Jon Radel
On 8/27/10 1:51 PM, Gary Kline wrote: i've already done 98 or so straight scp copies. the thing is how to use rsync over to an empty ethic? [[ empty == there are no \ dot files not .directories] i want EVERYTHING from this desktop, tao, temp on ethic

Re: how do i scp .dotfiles??

2010-08-27 Thread Gary Kline
Kline wrote: guys, this is the start of my master switchover. how to i copy/scp,say, ~/.purpur to home/kline/.purple? along with many hundreds of other dot files? scp doesn't do it. tx, scp u...@foo:\.dotfile .dotfile Regards, Use rsync over ssh

Re: how do i scp .dotfiles??

2010-08-27 Thread Bill Campbell
On Fri, Aug 27, 2010, Gary Kline wrote: On Fri, Aug 27, 2010 at 10:29:14AM -0700, Bill Campbell wrote: On Fri, Aug 27, 2010, Gary Kline wrote: guys, this is the start of my master switchover. how to i copy/scp,say, ~/.purpur to home/kline/.purple? along with many hundreds of other dot

Re: how do i scp .dotfiles??

2010-08-27 Thread Polytropon
On Fri, 27 Aug 2010 12:21:12 -0500, Gary Gatten ggat...@waddell.com wrote: Rename them, copy, then rename them back? Not good for a whole bunch of files; in this case: tar them together, transfer the archive, untar it; rename afterwards if needed. :-) -- Polytropon Magdeburg, Germany Happy

Advantage -vs- Disadvantage: SFTP -vs- SCP

2010-08-26 Thread Ed Flecko
Hi folks, I have a server I'm building that is internet accessible and I'm wondering if there's any advantages/disadvantages of using either SFTP -vs- SCP? My primary concern is overall security of the server (even if that means inconveniencing the end users), and I'm wondering if one method

RE: Advantage -vs- Disadvantage: SFTP -vs- SCP

2010-08-26 Thread Gary Gatten
...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Ed Flecko Sent: Thursday, August 26, 2010 5:08 PM To: freebsd-questions@freebsd.org Subject: Advantage -vs- Disadvantage: SFTP -vs- SCP Hi folks, I have a server I'm building that is internet accessible and I'm wondering

Re: Advantage -vs- Disadvantage: SFTP -vs- SCP

2010-08-26 Thread Ed Flecko
Gary, I agree...but I HAVE to give them access! :-) Ed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: Advantage -vs- Disadvantage: SFTP -vs- SCP

2010-08-26 Thread Bill Campbell
On Thu, Aug 26, 2010, Ed Flecko wrote: Hi folks, I have a server I'm building that is internet accessible and I'm wondering if there's any advantages/disadvantages of using either SFTP -vs- SCP? I would say that depends on what software the clients want to use. FileZilla works nicely with sftp

Re: Advantage -vs- Disadvantage: SFTP -vs- SCP

2010-08-26 Thread Matthew Seaman
On 26/08/2010 23:07:35, Ed Flecko wrote: I have a server I'm building that is internet accessible and I'm wondering if there's any advantages/disadvantages of using either SFTP -vs- SCP? My primary concern is overall security of the server (even if that means inconveniencing the end users

adding output lines to my .cshrc breaks sftp and scp ...

2010-06-08 Thread Goh Sanda
I added a few lines to the bottom of my standard FreeBSD .cshrc file: echo w echo Just to show me what is going on each time I log in. The problem is, when I try to scp a file to the system, I get 'w' output echo'd to me, and no actual scp. sftp fails as well - I can no longer log in via

Re: adding output lines to my .cshrc breaks sftp and scp ...

2010-06-08 Thread Polytropon
in. The corresponding system-wide file is /etc/csh.login. I don't understand why .cshrc output is breaking non-interactive SSH file transfer. Because .cshrc is read (and that's why executed) every time a shell is requested. Is there a way to customize my .cshrc output while still retaining scp

Re: chroot scp only network storage?

2010-05-26 Thread Matthew Law
On Tue, May 25, 2010 11:05 pm, Matthew Seaman wrote: Checkout the security/openssh-portable port which has options to enable chroot'ing. You should be able to configure the account to only be able to use scp(1) or sftp(1) by editing sshd_config or by using forced commands in the user

Re: chroot scp only network storage?

2010-05-26 Thread Matthew Law
On Tue, May 25, 2010 11:23 pm, Balázs Mátéffy wrote: Hello, Try /usr/ports/shells/scponly . Look up the features, this way you can assign the restrictive scponly shell to the users: http://sublimation.org/scponly/wiki/index.php/Main_Page Thanks, I have used this before on linux. In

chroot scp only network storage?

2010-05-25 Thread Matthew Law
I want to provide some users with secure network attached storage over SCP. The intent is to provide people with a similar thing to, e.g. rsync.net but inside of our network only. Security is obviously a priority so I would like each user to be chrooted into their allocated directory and allow

Re: chroot scp only network storage?

2010-05-25 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 25/05/2010 22:29:57, Matthew Law wrote: I want to provide some users with secure network attached storage over SCP. The intent is to provide people with a similar thing to, e.g. rsync.net but inside of our network only. Security

Re: chroot scp only network storage?

2010-05-25 Thread Balázs Mátéffy
: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 25/05/2010 22:29:57, Matthew Law wrote: I want to provide some users with secure network attached storage over SCP. The intent is to provide people with a similar thing to, e.g. rsync.net but inside of our network only. Security

Re: Copying files without scp

2009-04-16 Thread Steve Bertrand
A. Wright wrote: On Tue, 7 Apr 2009, Steve Bertrand wrote: Can someone recommend a *known good* production quality copy mechanism that will act like scp, but without the overhead? rsh? nc? If you are happy with rsh authentication, then have you looked at plain old rcp? I reviewed

Re: Copying files without scp

2009-04-08 Thread Mel Flynn
On Wednesday 08 April 2009 01:31:18 Steve Bertrand wrote: Doug Hardie wrote: On Apr 7, 2009, at 16:13, Steve Bertrand wrote: Hi all, To copy data from one server, I normally (always) use scp. I'm looking for a method to perform this copy task without the overhead of encryption

Re: Copying files without scp

2009-04-08 Thread A. Wright
On Tue, 7 Apr 2009, Steve Bertrand wrote: Can someone recommend a *known good* production quality copy mechanism that will act like scp, but without the overhead? rsh? nc? If you are happy with rsh authentication, then have you looked at plain old rcp

Re: Copying files without scp

2009-04-08 Thread Lowell Gilbert
Steve Bertrand st...@ibctech.ca writes: To copy data from one server, I normally (always) use scp. I'm looking for a method to perform this copy task without the overhead of encryption for infrequent, high-volume transfers (hundreds to thousands of GB). The data will be transferred server

Re: Copying files without scp

2009-04-08 Thread Oliver Fromme
Steve Bertrand wrote: To copy data from one server, I normally (always) use scp. I'm looking for a method to perform this copy task without the overhead of encryption for infrequent, high-volume transfers (hundreds to thousands of GB). The data will be transferred server-to-server

Re: Copying files without scp

2009-04-08 Thread Wojciech Puchar
To copy data from one server, I normally (always) use scp. man rcp ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Copying files without scp

2009-04-07 Thread Steve Bertrand
Hi all, To copy data from one server, I normally (always) use scp. I'm looking for a method to perform this copy task without the overhead of encryption for infrequent, high-volume transfers (hundreds to thousands of GB). The data will be transferred server-to-server within a private datacentre

Re: Copying files without scp

2009-04-07 Thread Adam Vandemore
Steve Bertrand wrote: Hi all, To copy data from one server, I normally (always) use scp. I'm looking for a method to perform this copy task without the overhead of encryption for infrequent, high-volume transfers (hundreds to thousands of GB). The data will be transferred server-to-server

Re: Copying files without scp

2009-04-07 Thread Doug Hardie
On Apr 7, 2009, at 16:13, Steve Bertrand wrote: Hi all, To copy data from one server, I normally (always) use scp. I'm looking for a method to perform this copy task without the overhead of encryption for infrequent, high-volume transfers (hundreds to thousands of GB). The data

Re: Copying files without scp

2009-04-07 Thread Steve Bertrand
Doug Hardie wrote: On Apr 7, 2009, at 16:13, Steve Bertrand wrote: Hi all, To copy data from one server, I normally (always) use scp. I'm looking for a method to perform this copy task without the overhead of encryption for infrequent, high-volume transfers (hundreds to thousands of GB

Re: Copying files without scp

2009-04-07 Thread Chuck Swiger
someone recommend a *known good* production quality copy mechanism that will act like scp, but without the overhead? rsh? nc? Install /usr/ports/security/openssh-portable, and set the Enable HPN- SSH patch option. You should then be able to use scp -c none option, which is documented more fully

Re: Copying files without scp

2009-04-07 Thread Steve Bertrand
datacentre. Can someone recommend a *known good* production quality copy mechanism that will act like scp, but without the overhead? rsh? nc? Install /usr/ports/security/openssh-portable, and set the Enable HPN-SSH patch option. You should then be able to use scp -c none option, which

Re: Copying files without scp

2009-04-07 Thread Olivier Nicole
Hi, Can someone recommend a *known good* production quality copy mechanism that will act like scp, but without the overhead? rsh? nc? I sometime use tar+rsh. Tar because I want to be sure to preserve all ownership and modes of the files and directories. Bests, olivier

Re: Copying files without scp

2009-04-07 Thread Frederique Rijsdijk
Steve Bertrand wrote: Hi all, To copy data from one server, I normally (always) use scp. I'm looking for a method to perform this copy task without the overhead of encryption for infrequent, high-volume transfers (hundreds to thousands of GB). The data will be transferred server-to-server

Re: Hashes in scp usernames (OpenSSH bug 472)

2008-11-09 Thread Manolis Kiagias
Christopher Key wrote: Hello, I've come upon OpenSSH bug 472, whereby scp refuses usernames containing a '#' character, dieing with 'invalid user name'. Both rsync and ssh accept such usernames, and after looking at /usr/src/crypto/openssh/scp.c, it would appear that scp also allows

Hashes in scp usernames (OpenSSH bug 472)

2008-11-09 Thread Christopher Key
Hello, I've come upon OpenSSH bug 472, whereby scp refuses usernames containing a '#' character, dieing with 'invalid user name'. Both rsync and ssh accept such usernames, and after looking at /usr/src/crypto/openssh/scp.c, it would appear that scp also allows such usernames for the source

Re: scp

2008-10-23 Thread kalin m
Hi Kalin, Please try the following command, and let me know if you see any output from it. If so, please post it here. grep sshd /var/log/messages | tail -20 i did that earlier.. the last record for sshd is from 10.14, more than a week ago Regards, Greg -BEGIN PGP

Re: scp

2008-10-23 Thread Polytropon
On Thu, 23 Oct 2008 02:06:00 -0400, kalin m [EMAIL PROTECTED] wrote: grep sshd /var/log/messages | tail -20 i did that earlier.. the last record for sshd is from 10.14, more than a week ago What about /var/log/auth.log? Maybe this file gives some information... --

Re: scp

2008-10-23 Thread kalin m
Polytropon wrote: On Thu, 23 Oct 2008 02:06:00 -0400, kalin m [EMAIL PROTECTED] wrote: grep sshd /var/log/messages | tail -20 i did that earlier.. the last record for sshd is from 10.14, more than a week ago What about /var/log/auth.log? Maybe this file gives

Re: scp

2008-10-23 Thread Callum Gibson
On 22Oct08 22:14, kalin m wrote: } I usually cheat and grab a copy of ssh-copy-id from the web; I suspect } your issue has to do with permissions for the .ssh directory and the } authorized_keys file. }permissions are 600 for the file and 700 for .ssh Permission of the remote user's home

scp

2008-10-22 Thread kalin m
hi all... i need to do a script to copy a file from a remote machine via scp with a key and without a password here is what i'm doing: 1. ssh-keygen -t rsa 2. scp new_key.pub to [EMAIL PROTECTED] (with password) 3. on remote_host rename new_key.pub to ~user/.ssh/athorized_keys when i

Re: scp

2008-10-22 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 kalin m wrote: hi all... i need to do a script to copy a file from a remote machine via scp with a key and without a password here is what i'm doing: 1. ssh-keygen -t rsa 2. scp new_key.pub to [EMAIL PROTECTED] (with password) 3

Re: scp

2008-10-22 Thread Jay Chandler
On Oct 22, 2008, at 6:40 PM, kalin m wrote: hi all... i need to do a script to copy a file from a remote machine via scp with a key and without a password here is what i'm doing: 1. ssh-keygen -t rsa 2. scp new_key.pub to [EMAIL PROTECTED] (with password) 3. on remote_host rename

Re: scp

2008-10-22 Thread kalin m
Jay Chandler wrote: On Oct 22, 2008, at 6:40 PM, kalin m wrote: hi all... i need to do a script to copy a file from a remote machine via scp with a key and without a password here is what i'm doing: 1. ssh-keygen -t rsa 2. scp new_key.pub to [EMAIL PROTECTED] (with password) 3

Re: scp

2008-10-22 Thread kalin m
: id_rsa when id_rsa is supposed to be the private key? ?!?! Greg Larkin wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 kalin m wrote: hi all... i need to do a script to copy a file from a remote machine via scp with a key and without a password here is what i'm doing: 1. ssh

Re: scp

2008-10-22 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 kalin m wrote: with -vvv i get this below: . debug1: bits set: 1034/2048 debug1: ssh_dss_verify: signature correct debug1: kex_derive_keys debug1: newkeys: mode 1 debug1:

Re: scp

2008-10-22 Thread kalin m
need to do a script to copy a file from a remote machine via scp with a key and without a password here is what i'm doing: 1. ssh-keygen -t rsa 2. scp new_key.pub to [EMAIL PROTECTED] (with password) 3. on remote_host rename new_key.pub to ~user/.ssh/athorized_keys when i try: # scp [EMAIL

Re: scp

2008-10-22 Thread kalin m
Hi Kalin, Don't worry about that message - I see the same thing here with an ssh connection that succeeds. The try pubkey message displays a private key file. Did you check the sshd_config file on the server and the /var/log/messages file for additional hints? If you see anything

Re: scp

2008-10-22 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 kalin m wrote: Hi Kalin, Don't worry about that message - I see the same thing here with an ssh connection that succeeds. The try pubkey message displays a private key file. Did you check the sshd_config file on the server and the

Re: rsync or even scp questions....

2008-10-13 Thread Jeremy Hooks
How, may I ask, does this work? If you search the bash man file you can find this and lots of other useful constructs, search for 'Parameter Expansion' - I'm not sure how much of this relates to other Bourne Shell derivatives, but I don't imagine it would be difficult to test it out.

Re: rsync or even scp questions....

2008-10-12 Thread Matthew Seaman
`; echo This directory is [${PWD}]; scp -qrp ${PWD}/* ethos:/${PWD} ###/usr/bin/scp -rqp -i /home/kline/.ssh/zeropasswd-id ${PWD}/* \ klin [EMAIL PROTECTED]:/${PWD} Question #1: is there any /bin/sh method of getting rid of the /usr? I switch off between my two computers especially

Re: rsync or even scp questions....

2008-10-12 Thread Jeremy Chadwick
on tao [FBSD] was /home/kline: P #!/bin/sh PWD=`pwd`; echo This directory is [${PWD}]; scp -qrp ${PWD}/* ethos:/${PWD} ###/usr/bin/scp -rqp -i /home/kline/.ssh/zeropasswd-id ${PWD}/* \ klin [EMAIL PROTECTED]:/${PWD} Question #1: is there any /bin/sh method of getting rid

Re: rsync or even scp questions....

2008-10-12 Thread Gary Kline
on tao [FBSD] was /home/kline: P #!/bin/sh PWD=`pwd`; echo This directory is [${PWD}]; scp -qrp ${PWD}/* ethos:/${PWD} ###/usr/bin/scp -rqp -i /home/kline/.ssh/zeropasswd-id ${PWD}/* \ klin [EMAIL PROTECTED]:/${PWD} Question #1: is there any /bin/sh method of getting rid

Re: rsync or even scp questions....

2008-10-12 Thread Gary Kline
/kline. The following sh script worked perfected when my home on tao [FBSD] was /home/kline: P #!/bin/sh PWD=`pwd`; echo This directory is [${PWD}]; scp -qrp ${PWD}/* ethos:/${PWD} ###/usr/bin/scp -rqp -i /home/kline/.ssh/zeropasswd-id ${PWD}/* \ klin [EMAIL PROTECTED

rsync or even scp questions....

2008-10-11 Thread Gary Kline
. The following sh script worked perfected when my home on tao [FBSD] was /home/kline: P #!/bin/sh PWD=`pwd`; echo This directory is [${PWD}]; scp -qrp ${PWD}/* ethos:/${PWD} ###/usr/bin/scp -rqp -i /home/kline/.ssh/zeropasswd-id ${PWD}/* \ klin [EMAIL PROTECTED]:/${PWD} Question #1

Re: rsync or even scp questions....

2008-10-11 Thread mdh
This directory is [${PWD}]; scp -qrp ${PWD}/* ethos:/${PWD} ###/usr/bin/scp -rqp -i /home/kline/.ssh/zeropasswd-id ${PWD}/* \ klin [EMAIL PROTECTED]:/${PWD} Question #1: is there any /bin/sh method of getting rid of the /usr? I switch off between my two computers especially

scp/sftp without interactive shell?

2007-05-03 Thread Ewald Jenisch
Hi, I'm looking for a way to securely transfer files between machines using either scp or sftp without giving the user a login shell on the target machine. Put in another way: The user should be able to transfer files but must not have an interactive login shell on the target box. Giving

Re: scp/sftp without interactive shell?

2007-05-03 Thread Chuck Swiger
Ewald Jenisch wrote: [ ... ] Giving the user a shell of /bin/true or something similar on the target machine is not an option since scp doesn't seem to work in this case. Any ideas how this could be accomplished? Take a look at /usr/ports/shells/scponly, or rsh for restricted shells, more

Re: scp/sftp without interactive shell?

2007-05-03 Thread Ghirai
Hello Ewald, Thursday, May 3, 2007, 5:07:33 PM, you wrote: Hi, I'm looking for a way to securely transfer files between machines using either scp or sftp without giving the user a login shell on the target machine. Put in another way: The user should be able to transfer files but must

Re: scp/sftp without interactive shell?

2007-05-03 Thread Greg Barniskis
Ewald Jenisch wrote: Hi, I'm looking for a way to securely transfer files between machines using either scp or sftp without giving the user a login shell on the target machine. Have you tried ports/shells/scponly? ___ freebsd-questions@freebsd.org

  1   2   >