Re: 9.0-PRERELEASE slow scp transfer

2011-11-22 Thread Bas Smeelen
On 11/22/2011 05:09 PM, Matthew Seaman wrote: > 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.

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. &

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

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.o

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

2011-05-01 Thread Polytropon
ng 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 wa

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

2011-05-01 Thread Polytropon
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 syntax, not csh) there. This file will only be e

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 > 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

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 a

Re: how do i scp .dotfiles??

2010-09-02 Thread Lowell Gilbert
Gary Kline 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-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 wrote: > > > On 30 August 2010 18:37, krad wrote: > > > On 27 August 2010 20:13, Polytropon wrote: > > > > > >> On Fri, 27 Aug 2010 12:21:12 -0500, Gary Gatten > > >> wrote: > > >> > Rename them, copy,

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

2010-08-31 Thread Adam Vande More
On Tue, Aug 31, 2010 at 10:27 AM, krad 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-31 Thread Chris Rees
ke  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 >> argu

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

2010-08-31 Thread krad
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; moo

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

2010-08-31 Thread Chris Rees
; 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 shell access to

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

2010-08-31 Thread krad
On 30 August 2010 18:38, Adam Vande More wrote: > On Mon, Aug 30, 2010 at 12:30 PM, krad 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: how do i scp .dotfiles??

2010-08-31 Thread krad
On 30 August 2010 20:02, Chris Rees wrote: > On 30 August 2010 18:37, krad wrote: > > On 27 August 2010 20:13, Polytropon wrote: > > > >> On Fri, 27 Aug 2010 12:21:12 -0500, Gary Gatten > >> wrote: > >> > Rename them, copy, then rename them back? > >> > >> Not good for a whole bunch of files;

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 rel

Re: how do i scp .dotfiles??

2010-08-30 Thread Chris Rees
On 30 August 2010 18:37, krad wrote: > On 27 August 2010 20:13, Polytropon wrote: > >> On Fri, 27 Aug 2010 12:21:12 -0500, Gary Gatten >> 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, unt

Re: how do i scp .dotfiles??

2010-08-30 Thread krad
:19:40 -0400 > > >>Glen Barber wrote: > > >> > > >>> On 8/27/10 1:07 PM, Gary Kline wrote: > > >>> > > > >>> > guys, > > >>> > > > >>> > this is the start of my master switchover.

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

2010-08-30 Thread Adam Vande More
On Mon, Aug 30, 2010 at 12:30 PM, krad 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 unsubscribe, send a

Re: how do i scp .dotfiles??

2010-08-30 Thread krad
On 27 August 2010 20:13, Polytropon wrote: > On Fri, 27 Aug 2010 12:21:12 -0500, Gary Gatten > 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. :-) > > > >

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

2010-08-30 Thread krad
On 30 August 2010 06:00, Adam Vande More wrote: > On Fri, Aug 27, 2010 at 3:39 AM, krad 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 >&g

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

2010-08-29 Thread Adam Vande More
On Fri, Aug 27, 2010 at 3:39 AM, krad 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: 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, Webmaste

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 > con

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' writes: > > > > >> There's a big difference between: > > >> > > >> cd $HOME && gtar cfz /tmp/xx.tgz . # should

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' 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 t

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' 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

Re: how do i scp .dotfiles??

2010-08-29 Thread Randal L. Schwartz
> "'Gary" == 'Gary Kline' 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 th

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' 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 . # shoul

Re: how do i scp .dotfiles??

2010-08-29 Thread Randal L. Schwartz
> "'Gary" == 'Gary Kline' 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 dotfil

Re: how do i scp .dotfiles??

2010-08-29 Thread Polytropon
he data; you can also use - instead of the actual 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, g

Re: how do i scp .dotfiles??

2010-08-28 Thread 'Gary Kline'
>> 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. :-) > >> > > > > If i'm going to rename, say, ~/.Plans

Re: how do i scp .dotfiles??

2010-08-28 Thread Matthew Seaman
his 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 a tarball

Re: how do i scp .dotfiles??

2010-08-28 Thread Chris Rees
n 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 a tarball may wor

Re: how do i scp .dotfiles??

2010-08-28 Thread 'Gary Kline'
name 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 Free

Re: how do i scp .dotfiles??

2010-08-27 Thread Polytropon
On Fri, 27 Aug 2010 12:21:12 -0500, Gary Gatten 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 FreeBSD user since 4

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, >>

Re: how do i scp .dotfiles??

2010-08-27 Thread Gary Kline
gt;>> 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 hund

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

Re: how do i scp .dotfiles??

2010-08-27 Thread Jason
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 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 wrote: > > > On 8/27/10 1:07 PM, Gary Kline wrote: > > > > > > guys, > > > > > > this is the start of my master switchover. h

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 othe

Re: how do i scp .dotfiles??

2010-08-27 Thread Jason Helfman
On Fri, 27 Aug 2010 13:19:40 -0400 Glen Barber 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

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 sho

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, this is

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 .do

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 relea

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

2010-08-27 Thread krad
On 27 August 2010 06:19, Matthew Seaman wrote: > 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? > &g

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 &

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.

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 Gary Gatten
bsd-questi...@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

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 won

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

2010-06-08 Thread Polytropon
d that should be executed after you log 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. &

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 fai

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 linu

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 > com

Re: chroot scp only network storage?

2010-05-25 Thread Balázs Mátéffy
NED 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 o

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. >

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: 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 looke

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"

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 wil

Re: Copying files without scp

2009-04-08 Thread Lowell Gilbert
Steve Bertrand 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 tr

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? A

Re: Copying files without scp

2009-04-07 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

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-s

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, o

Re: Copying files without scp

2009-04-07 Thread Steve Bertrand
transferred server-to-server within a private >> 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 &quo

Re: Copying files without scp

2009-04-07 Thread Chuck Swiger
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 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

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 wi

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-s

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 datac

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 t

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

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 dire

Re: scp

2008-10-22 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 s

Re: scp

2008-10-22 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-22 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 S

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

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 interestin

Re: scp

2008-10-22 Thread kalin m
ll... 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 try:

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: S

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

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)

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 r

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

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 w

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 Gary Kline
n my main > >>> computer, > >>> my home is /usr/home/kline. The following sh script > >>> worked > >>> perfected when my home on "tao" [FBSD] was > >>> /home/kline: > >>> > >>> P > >>> #!/

Re: rsync or even scp questions....

2008-10-12 Thread Gary Kline
line. 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}]"; > &

Re: rsync or even scp questions....

2008-10-12 Thread Jeremy Chadwick
line. 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}]"; >&

Re: rsync or even scp questions....

2008-10-12 Thread Matthew Seaman
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 of the "/usr"? I

Re: rsync or even scp questions....

2008-10-11 Thread mdh
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

rsync or even scp questions....

2008-10-11 Thread Gary Kline
me/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 P

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@freebs

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 > tra

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&quo

  1   2   >