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
here is pretty much the same from another machine (os x laptop) with a dsa key: debug1: SSH2_MSG_SERVICE_ACCEPT received debug2: key: /private/var/root/.ssh/id_dsa (0x300e30) debug1: Authentications that can conti

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
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: SSH2_MSG_NEWKEYS sent debug1: waiting for SSH2_MSG_NEWKEYS debug1: newkeys: mode

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

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 new_

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)

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 m

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

Re: SCP & Delete

2007-02-06 Thread Preston Hagar
On 2/6/07, Chuck Swiger <[EMAIL PROTECTED]> wrote: > > On Feb 6, 2007, at 3:12 PM, Don O'Neil wrote: > > How do I delete a file after I've copied it with SCP? Is there some > > sort of > > secure 'rm' command? > > Use "rsync --delete" via SSH. (Danger! Slippery when wet! Use with > caution.) >

Re: SCP & Delete

2007-02-06 Thread Chuck Swiger
On Feb 6, 2007, at 3:12 PM, Don O'Neil wrote: How do I delete a file after I've copied it with SCP? Is there some sort of secure 'rm' command? Use "rsync --delete" via SSH. (Danger! Slippery when wet! Use with caution.) -- -Chuck ___ freebsd

Re: SCP & Delete

2007-02-06 Thread Josh Carroll
How do I delete a file after I've copied it with SCP? Is there some sort of secure 'rm' command? ssh [EMAIL PROTECTED] 'rm /full/path/to/file' Should work. There's no srm (secure rm), you simply ssh to the machine and give it the command to execute. _

Re: SCP & Delete

2007-02-06 Thread youshi10
On Tue, 6 Feb 2007, Don O'Neil wrote: How do I delete a file after I've copied it with SCP? Is there some sort of secure 'rm' command? ssh allows you to execute many commands, one being rm. Example: ssh [EMAIL PROTECTED] "rm /full/path/to/file"; There's also gftp which can use ssh / sftp if

Re: SCP!

2005-12-12 Thread Björn König
Svein Halvor Halvorsen schrieb: On 12/12/05, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: You use PSCP.EXE instead of PUTTY.EXE from a Windows' "cmd" prompt. That's probably awful, if you're looking for something with fancy, colourful GUI buttons, but it has certainly saved my a$$ a few times :

Re: SCP!

2005-12-12 Thread Giorgos Keramidas
On 2005-12-12 20:23, Svein Halvor Halvorsen <[EMAIL PROTECTED]> wrote: >On 12/12/05, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: >> You use PSCP.EXE instead of PUTTY.EXE from a Windows' "cmd" prompt. >> That's probably awful, if you're looking for something with fancy, >> colourful GUI buttons, bu

Re: SCP!

2005-12-12 Thread Joshua Lewis
Thank you again to everyone on the list. I got the files moved. I really apreciate all responses and help. Thank you, Joshua Lewis James Bailie > Joshua Lewis wrote: > > > So how do I sign on to freebsd and then scp the folder to the windows > > machine? more like a push. > > scp can push or

Re: SCP!

2005-12-12 Thread Alex Zbyslaw
Giorgos Keramidas wrote: You use PSCP.EXE instead of PUTTY.EXE from a Windows' "cmd" prompt. That's probably awful, if you're looking for something with fancy, colourful GUI buttons, but it has certainly saved my a$$ a few times :) There's also filezilla, which I haven't used myself but have

Re: SCP!

2005-12-12 Thread Kevin Kinsey
Joshua Lewis wrote: From what i gather scp is a pull type method (for lack of a better term) I use scp from the computer I want the data pulled to. My problem is I am at a Windows XP system using putty and I can't "pull" the data because putty signs me into the freebsd system. So if I were to

Re: SCP!

2005-12-12 Thread Svein Halvor Halvorsen
On 12/12/05, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > You use PSCP.EXE instead of PUTTY.EXE from a Windows' "cmd" prompt. > That's probably awful, if you're looking for something with fancy, > colourful GUI buttons, but it has certainly saved my a$$ a few times :) http://winscp.net/ is a nic

Re: SCP!

2005-12-12 Thread James Bailie
Joshua Lewis wrote: > So how do I sign on to freebsd and then scp the folder to the windows > machine? more like a push. scp can push or pull. You just don't have a sshd running on your windows machine, so pushing back to it isn't possible. What you want is a version of sftp or scp for Windows

Re: SCP!

2005-12-12 Thread Giorgos Keramidas
On 2005-12-12 10:47, Joshua Lewis <[EMAIL PROTECTED]> wrote: > From what i gather scp is a pull type method (for lack of a better > term) I use scp from the computer I want the data pulled to. > > My problem is I am at a Windows XP system using putty and I can't > "pull" the data because putty sign

Re: scp stalling

2005-03-22 Thread Emanuel Strobl
Am Mittwoch, 23. März 2005 00:51 schrieb Bob Ababurko: > Hello- > > I have two boxes that I am trying to transfer files between and for some > reasson I am getting annoting slow transfers. I am running > OpenSSH_3.8.1p1on the server end with freeBSD 5.3 and OpenSSH_3.5p1 with > freeBSD 4.9 on the

Re: SCP

2004-08-24 Thread Dick Davies
* Spidey Knepscheld <[EMAIL PROTECTED]> [0828 11:28]: > Hi Guys > > > I have to FreeBSD boxes next to each other and would like to copy a > directory from the mail server to the firewall.I have root access to > both the PC's.The directory on the mail server is /home/www/trafd and I > would like

Re: SCP

2004-08-24 Thread August Simonelli
On Tue, 24 Aug 2004 12:28:23 +0200, Spidey Knepscheld <[EMAIL PROTECTED]> wrote: > Hi Guys > > I have to FreeBSD boxes next to each other and would like to copy a > directory from the mail server to the firewall.I have root access to > both the PC's.The directory on the mail server is /home/www/tr

Re: SCP fails while ssh works...

2004-02-10 Thread Lowell Gilbert
Quintin Riis <[EMAIL PROTECTED]> writes: > Are you using bash ? > > If ~/.bashrc generates ANY output, it WILL break the scp and rcp commands. And there's nothing about this specific to bash, either; on any shell, producing output from the startup scripts in a non-interactive shell WILL bre

Re: SCP fails while ssh works...

2004-02-10 Thread Quintin Riis
Are you using bash ? If ~/.bashrc generates ANY output, it WILL break the scp and rcp commands. Quintin twig les wrote: Hey all, I have to identical boxes running 4.6 and all of a sudden one stopped taking SCP even though it still takes ssh connections. The other box is still working fine an

Re: SCP fails while ssh works...

2004-02-09 Thread Lowell Gilbert
Garance A Drosihn <[EMAIL PROTECTED]> writes: > At 1:08 PM -0800 2/9/04, twig les wrote: > >Hey all, I have to identical boxes running 4.6 and all of a > >sudden one stopped taking SCP even though it still takes ssh > >connections. > > This may not help you at all, but every time I've had a probl

Re: SCP fails while ssh works...

2004-02-09 Thread Garance A Drosihn
At 1:08 PM -0800 2/9/04, twig les wrote: Hey all, I have to identical boxes running 4.6 and all of a sudden one stopped taking SCP even though it still takes ssh connections. This may not help you at all, but every time I've had a problem where scp fails and ssh works, it has been because the useri

RE: scp between windows and freebsd

2003-12-11 Thread KURT BUFF
Thank you Malcom! I've found that specifying another account (didn't want to enable remote root login) and putting either authorized_keys or authorized_keys2 into the proper directory worked like a champ. On to more and better work. Kurt | | On Thu, 11 Dec 2003 07:20, KURT BUFF wrote: | > All,

Re: scp between windows and freebsd

2003-12-11 Thread Malcolm Kay
On Thu, 11 Dec 2003 07:20, KURT BUFF wrote: > All, > > I'm following the directions here: > > http://www.unixwiz.net/techtips/postfix-exchange-users.html > > to improve the gateway to our Exchange box, and am stuck on a particular > step. > > I just can't seem to make the Putty SCP work from my wor

RE: scp between windows and freebsd

2003-12-10 Thread Lee Mx
From: "KURT BUFF" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: scp between windows and freebsd Date: Wed, 10 Dec 2003 13:50:01 -0700 (MST) All, I'm following the directions here: http://www.unixwiz.net/techtips/postfix-exchange-users.html to improve the gateway to our Exchange box, an

Re: SCP where does the file xfer to?

2003-07-30 Thread LLeweLLyn Reese
DanB <[EMAIL PROTECTED]> writes: > SCP where does the file xfer to? scp file.tar.gz > [EMAIL PROTECTED] It's not enough to just give a username and a machine name. You need tell scp *where* on the remote machine you want the file put: $ scp file.tar.gz [EMAIL PROTECTED]:. The colo

Re: SCP where does the file xfer to?

2003-07-28 Thread Ruben de Groot
On Mon, Jul 28, 2003 at 11:45:08AM +, DanB typed: > SCP where does the file xfer to? scp file.tar.gz > [EMAIL PROTECTED] If this is really the command you used (without : after chatusa.com), check the directory you were in when you issued the command and look for a file called "[EMA

Re: Re: scp+find, a little help please

2003-07-16 Thread jan.muenther
Hello, > Well, I tried both the standford tarballs and the ports' > stuff. Both fail with this. Does anybody know what I > need to do to fix this? ...Before I scrounge around in > the code, that is... . Well, dunno, really - I didn't cvsup my ports and tried to build it

Re: scp+find, a little help please

2003-07-15 Thread Gary Kline
On Tue, Jul 15, 2003 at 05:48:01PM +0200, [EMAIL PROTECTED] wrote: > > Hi there, > > > Need to set up scp to copy only newer files and directories between two > > computers. > > > > The basic setup is like: > > scp -pr [EMAIL PROTECTED]:" host2:/dir > > > > What would be a suitable "find comma

Re: scp+find, a little help please

2003-07-15 Thread Chuck Swiger
Per olof Ljungmark wrote: [ ... ] Last time I looked at rsync it did not create new directories, perhaps that changed? Or maybe I'm completely wrong... I'll have a look at rdiff then. "rsync -a" should do what you've asked for, including creating new directories and dealing with symlinks properl

Re: scp+find, a little help please

2003-07-15 Thread Per olof Ljungmark
Erm, newer than *what*? find needs a file as a comparison parameter to detetermine whether another file is newer than it or not. I assume you mean you want to copy only files from host1 to host2 which exist on both machines, with host1 potentially holding newer versions that should get synchronized

Re: scp+find, a little help please

2003-07-15 Thread jan.muenther
Hi there, > Need to set up scp to copy only newer files and directories between two > computers. > > The basic setup is like: > scp -pr [EMAIL PROTECTED]:" host2:/dir > > What would be a suitable "find command" here? Erm, newer than *what*? find needs a file as a comparison parameter to detet

Re: scp GUI

2003-02-11 Thread Willie Viljoen
On Tuesday 11 February 2003 21:54, Cliff Sarginson wrote: > On Tue, Feb 11, 2003 at 12:28:37PM -0600, Brian Henning wrote: > > i am actually looking for a port for scp on bsd. > > any suggestions? > > Errm, don't you have it anyway ? > > # type -p scp > /usr/bin/scp >From what I can gather, they a

Re: scp GUI

2003-02-11 Thread Cliff Sarginson
On Tue, Feb 11, 2003 at 12:28:37PM -0600, Brian Henning wrote: > i am actually looking for a port for scp on bsd. > any suggestions? > Errm, don't you have it anyway ? # type -p scp /usr/bin/scp -- Regards Cliff Sarginson The Netherlands [ This mail has been checked as virus-free ] To

Re: scp GUI

2003-02-11 Thread Brian Henning
i am actually looking for a port for scp on bsd. any suggestions? - Original Message - From: "Bill Moran" <[EMAIL PROTECTED]> To: "Brian Henning" <[EMAIL PROTECTED]> Cc: "freebsd" <[EMAIL PROTECTED]> Sent: Tuesday, February 11, 2003 10:26

Re: scp GUI

2003-02-11 Thread Bill Moran
Brian Henning wrote: does there exist a graphical insterface for performing client scp? thanks, http://www.appgate.com/mindterm/ -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of

Re: scp and non-shell accounts.

2002-07-17 Thread Roman Neuhauser
> From: Wayne Pascoe <[EMAIL PROTECTED]> > To: Ken McGlothlen <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > Subject: Re: scp and non-shell accounts. > Date: 18 Jul 2002 00:40:11 + > > Ken McGlothlen <[EMAIL PROTECTED]> writes: > > > Do I reall

Re: scp and non-shell accounts.

2002-07-17 Thread Wayne Pascoe
Ken McGlothlen <[EMAIL PROTECTED]> writes: > I want my users to be able to transfer files to the production > webserver using scp or sftp, but not to have shell access on the > production webserver. > > So on the production machine, each of these users has a home directory, and a > shell of /sbi

Re: scp and non-shell accounts.

2002-07-17 Thread Matthew Seaman
On Wed, Jul 17, 2002 at 02:11:34PM -0700, Ken McGlothlen wrote: > I have one system where my users have shell accounts and hang out > on. This has an Apache server installed as a staging server. I > have another system which is the production webserver. > I want my users to be able to transfer