How do I delete a file after I've copied it with SCP? Is there some sort of
secure 'rm' command?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
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
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
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
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.)
--
-Chuck
I
On Fri, 19 Jan 2007 22:38:44 -0800
Don O'Neil [EMAIL PROTECTED] wrote:
Is there any way to pass the password for an SCP command via the
command line as a switch? I'd like to embed SCP in a script and pass
the password once through a command line input from the master
script... By defauly
Is there any way to pass the password for an SCP command via the command
line as a switch? I'd like to embed SCP in a script and pass the password
once through a command line input from the master script... By defauly any
time I use the -B mode it says passwords are required, and without -B
Don O'Neil wrote:
Is there any way to pass the password for an SCP command via the command
line as a switch? I'd like to embed SCP in a script and pass the password
once through a command line input from the master script... By defauly any
time I use the -B mode it says passwords are required
In the last episode (Jan 20), Jeff Royle said:
Don O'Neil wrote:
Is there any way to pass the password for an SCP command via the
command line as a switch? I'd like to embed SCP in a script and
pass the password once through a command line input from the master
script... By defauly any
my freebsd boxes are refusing connections (or erroring them out, im not sure
which it is at this time). when i try to scp a file or make a sftp
connection, this is what i get:
[EMAIL PROTECTED] ~]$ sftp tyche
Connecting to tyche...
Password:
Received message too long 538976288
[EMAIL PROTECTED
On Sunday 04 June 2006 16:45, Jonathan Horne wrote:
my freebsd boxes are refusing connections (or erroring them out, im not
sure which it is at this time). when i try to scp a file or make a sftp
connection, this is what i get:
[EMAIL PROTECTED] ~]$ sftp tyche
Connecting to tyche
On Sunday 04 June 2006 10:03, Benjamin Lutz wrote:
On Sunday 04 June 2006 16:45, Jonathan Horne wrote:
my freebsd boxes are refusing connections (or erroring them out, im not
sure which it is at this time). when i try to scp a file or make a sftp
connection, this is what i get:
[EMAIL
Trying to use WinSCP to connect using the ibsh shell. The logs in the
WinSCP program indicate 'Connection failed. Server sent command exit
status 0', but I cannot find anything in the FreeBSD logs. I am hoping
to find where my FreeBSD 6.0 box is trying to execute a command so I can
add it to the
On Mon, 08 May 2006 09:28:54 -0400
Robert Fitzpatrick [EMAIL PROTECTED] wrote:
Trying to use WinSCP to connect using the ibsh shell. The logs in the
WinSCP program indicate 'Connection failed. Server sent command exit
status 0', but I cannot find anything in the FreeBSD logs. I am hoping
to
/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/usr/libexec
files# cat /usr/local/etc/ibsh/globals.cmds
cd
ls
pwd
logout
exit
touch
mkdir
rm
pico
scp
sftp
sftp-server
ssh
sshd
exec
--
Robert
___
freebsd-questions
Hi, i have freebsd 6.0 in a dl380 g3, im copying a 3.0G file from one
server (with gentoo) to the freebsd server using scp, the transfer rate
is terrible slow, check out this
napstats# scp [EMAIL PROTECTED]:NAPSTATS_TRANSFER/stopacct_borrar
stopacct_borrar
stopacct_borrar
: Wednesday, March 29, 2006 4:43 PM
To: freebsd-questions@freebsd.org
Subject: slow scp transfer
Hi, i have freebsd 6.0 in a dl380 g3, im copying a 3.0G file from
one
server (with gentoo) to the freebsd server using scp, the transfer
rate
is terrible slow, check out this
napstats# scp
[EMAIL PROTECTED
[EMAIL PROTECTED] wrote:
I was using scp to copy several large (300-800mb) each files between two
Freebsd machines. Both are on the same hub, 100MB Ethernet connection.
The source box is FreeBSD 5.4 stable at a late October build date. The
target is running 6.0 stable at a current build date
, Mark - Data Center Operations [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: showdown transfering files with scp
[EMAIL PROTECTED] wrote:
I was using scp to copy several large (300-800mb) each files between
two
Freebsd machines. Both are on the same hub, 100MB Ethernet connection.
The source
I was using scp to copy several large (300-800mb) each files between two
Freebsd machines. Both are on the same hub, 100MB Ethernet connection.
The source box is FreeBSD 5.4 stable at a late October build date. The
target is running 6.0 stable at a current build date.
The first three files
[EMAIL PROTECTED] wrote:
I was using scp to copy several large (300-800mb) each files between two
Freebsd machines. Both are on the same hub, 100MB Ethernet connection.
The source box is FreeBSD 5.4 stable at a late October build date. The
target is running 6.0 stable at a current build date
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
use SCP I would
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 signs me
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
scp and sftp client for Windows.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
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
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
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 pull
certainly saved my a$$ a few times :)
http://winscp.net/ is a nice GUI scp and sftp client for Windows.
Many thanks! I don't use Windows, unless I'm *REALLY* forced to do so,
because I almost invariably find the whole experience extremely annoying
and distracting from the work I really want to do
:)
http://winscp.net/ is a nice GUI scp and sftp client for Windows.
Yet another GUI which is my favourite:
ftp://ftp.ssh.com/pub/ssh/SSHSecureShellClient-3.2.9.exe
Free of charge for non-commercial use.
Regards Björn
___
freebsd-questions@freebsd.org
Hi there Steven, not sure if anybody has posted to your question on xfer
rates between sftp scp, if so, perhaps you can indulge me. Also, do you
know which would be better in terms of security?
Thanks in advance.
Dan
___
freebsd-questions@freebsd.org
Leonhardt, Daniel (EST) wrote:
Hi there Steven, not sure if anybody has posted to your question on xfer
rates between sftp scp, if so, perhaps you can indulge me. Also, do you
know which would be better in terms of security?
What are you talking about? Please do not send mails
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
client end. The connection keeps stalling and I am not seeing
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
Using scp without password (identy.pub authorized.key)
in cron
[EMAIL PROTECTED] scp ./files [EMAIL PROTECTED]:/home/user/files
all work but
i need only secure copy, but must give full user shell to user [EMAIL PROTECTED]
on host B. if attaker take control of A, he can shell to [EMAIL PROTECTED
PROTECTED] scp not work
what can i do to reduce permission [EMAIL PROTECTED]
You can use rssh from the ports:
$ cat /usr/ports/shells/rssh/pkg-descr
rssh is a Restricted Secure SHell that allow only the use of sftp or scp.
It could be use when you need an account (and a valid shell) in order
tried :
scp /home/www/trafd mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED]: /usr/trafd
Please if someone can help
Spidey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail
and I
would like to copy it to the fw to /usr/ports/net/ . Here is the command
I tried :
scp /home/www/trafd mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED]: /usr/trafd
I think it's more like this: scp [EMAIL PROTECTED]:/path/to/remote/dir/*
/path/to/local/dir/
i'm still pretty new
it to the fw to /usr/ports/net/ . Here is the command
I tried :
scp /home/www/trafd mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED]: /usr/trafd
I assume the mailto link is sowe crap inserted by your mailer?
Also there shouldn't be a space between the colon and the /usr/trafd, and
you'd need a -r
I have read several documents on the number of
concurrent https sessions a FreeBSD system is capable
of.
However, I wonder how well this relates to how many
ssh sessions (scp file transfers, specifically) that a
FreeBSD server can handle. Can anyone throw out some
basic numbers
Joe Schmoe [EMAIL PROTECTED] wrote:
I have read several documents on the number of
concurrent https sessions a FreeBSD system is capable
of.
However, I wonder how well this relates to how many
ssh sessions (scp file transfers, specifically) that a
FreeBSD server can handle. Can anyone
I know this question doesn't relate directly to FreeBSD, but because I
use both sftp and scp on FreeBSD systems constantly, I thought someone
here might know.
If I sftp into a server and get a file, it usually transfers at about
1.2 KBps - regardless of interface, machine speed and connection
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
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 break
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 and they are
on the same subnet. The only thing I could find online about
this is an MTU mismatch which makes no sense
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
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 problem
where
Evan Sayer [EMAIL PROTECTED] writes:
Does anyone know how to make it so that users can ssh in and get a
normal shell or scp in and get or send files but only within their own
home directories via chroot?
The commercial ssh server has that capability built in, but the free
ones don't, last I
x294
Fax: (920) 453 6594
-Original Message-
From: Lowell Gilbert [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 8:11 AM
To: Evan Sayer
Cc: [EMAIL PROTECTED]
Subject: Re: chrooted ssh/scp
Evan Sayer [EMAIL PROTECTED] writes:
Does anyone know how to make it so that users can
PROTECTED]
Subject: Re: chrooted ssh/scp
Evan Sayer [EMAIL PROTECTED] writes:
Does anyone know how to make it so that users can ssh in and get a
normal shell or scp in and get or send files but only within their own
home directories via chroot?
The commercial ssh server has
its in ports...
-Original Message-
From: Luke Kearney [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 10:34 AM
To: Michael Clark
Cc: '[EMAIL PROTECTED]'; Evan Sayer
Subject: Re: chrooted ssh/scp
On Mon, 2 Feb 2004 10:02:32 -0600
Michael Clark [EMAIL PROTECTED] granted us
ext Luke Kearney ([EMAIL PROTECTED]) wrote:
excuse me if this seems off topic but a quick check over at ssh.com
revealed no obvious links to a downloadable version that would not
require a license. Pray tell where I might find the binaries. I would
like to give sshd2 a run and see if it
Does anyone know how to make it so that users can ssh in and get a
normal shell or scp in and get or send files but only within their own
home directories via chroot?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd
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 workstation
,
|
| 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 workstation.
|
| I used Putty's window
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 workstation.
I used Putty's window copy function to paste
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, and am
Hi,
I just upgraded 2 machines to 4.9p1 and one of them is displaying a rather
odd behavior.
When I try to scp a file from said machine, it shows the first line of the
fortune (the one you see if you, say, log into a shell on the machine) on
the client end and then it quits. No error is reported
Sean Page wrote:
Hi,
I just upgraded 2 machines to 4.9p1 and one of them is displaying a rather
odd behavior.
When I try to scp a file from said machine, it shows the first line of the
fortune (the one you see if you, say, log into a shell on the machine) on
the client end and then it quits
On Dec 8, 2003, at 5:09 PM, Sean Page wrote:
When I try to scp a file from said machine, it shows the first line of
the
fortune (the one you see if you, say, log into a shell on the machine)
on
the client end and then it quits. No error is reported in
/var/log/messages
or auth.log and no file
HA!
That was it!
Thanks Jonathan.
Sean.
-Original Message-
From: Jonathan T. Sage [mailto:[EMAIL PROTECTED]
Sent: December 8, 2003 4:02 PM
To: '[EMAIL PROTECTED]'
Subject: Re: Strange behavior with scp
Sean Page wrote:
Hi,
I just upgraded 2 machines to 4.9p1 and one of them
Hi List,
Can anyone point me in the right direction here ? I would like to log
all scp/sftp transfers to and from a certain machine and cannot find any
logical method to do so.
TIA
LukeK
--
Luke Kearney [EMAIL PROTECTED]
___
[EMAIL PROTECTED
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 colon
SCP where does the file xfer to? scp file.tar.gz
[EMAIL PROTECTED]
Look in the directory for longterm it was not there. I transfered it as
root.
Dan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd
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 [EMAIL
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,
On Tue, Jul 15, 2003 at 06:37:08PM -0400, Chuck Swiger wrote:
: Jonathon McKitrick wrote:
: On Tue, Jul 15, 2003 at 03:27:36PM -0400, Chuck Swiger wrote:
: [ ... ]
: : Use ssh-keygen to generate an RSA or DSA keypair without using a
: password, : and copy identity.pub, id_dsa.pub, or whatever to
Hi,
Need to set up scp to copy only newer files and directories between two
computers.
The basic setup is like:
scp -pr [EMAIL PROTECTED]:find command host2:/dir
What would be a suitable find command here?
Thanks,
___
[EMAIL PROTECTED] mailing list
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
detetermine
:
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.
But as you say, it should be perfectly possible with scp too -
Thanks,
___
[EMAIL PROTECTED] mailing
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
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 command here?
Erm
I would like to make scp transfers as smooth as possible, using batch mode
if I can. At the least, I don't want to have to enter my password with
every transfer.
How do I create the identity file that goes with the -i option so that I do
not have to enter my password each time?
NOTE: Please CC
Jonathon McKitrick wrote:
[ ... ]
How do I create the identity file that goes with the -i option so that I do
not have to enter my password each time?
NOTE: Please CC me, as I am not currently subscribed. Thanks.
Use ssh-keygen to generate an RSA or DSA keypair without using a password, and
copy
On Tue, Jul 15, 2003 at 03:27:36PM -0400, Chuck Swiger wrote:
: Jonathon McKitrick wrote:
: [ ... ]
: How do I create the identity file that goes with the -i option so that I do
: not have to enter my password each time?
:
: NOTE: Please CC me, as I am not currently subscribed. Thanks.
:
: Use
Jonathon McKitrick wrote:
On Tue, Jul 15, 2003 at 03:27:36PM -0400, Chuck Swiger wrote:
[ ... ]
: Use ssh-keygen to generate an RSA or DSA keypair without using a password,
: and copy identity.pub, id_dsa.pub, or whatever to .ssh/authorized_keys on
: the remote host (the system being logged
does there exist a graphical insterface for performing client scp?
thanks,
brian
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message
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
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 AM
Subject: Re: scp GUI
Brian Henning wrote:
does
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
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 are looking
Hi there,
We run a web server with FreeBSD 4.5 and apache. It used to run just
fine, and we could both FTP and SCP up files to the server.
But now when I try to FTP or SCP files to the server, it accepts most
files, but suddenly gives errors at random files...
Both in FTP and SCP to the server
A few months ago, I had a cron job scp a file to another box within my
lan. It worked great and things were good.
I dont remember why I turned it off, but Im trying to set it back up.
Both boxes are running FBSD 4.6.2-Release.
On the sending box -
1. ssh-keygen -t rsa //Accept the defaults
Date: Fri, 04 Oct 2002 13:31:56 -0400
From: Gerard Samuel [EMAIL PROTECTED]
Sender: [EMAIL PROTECTED]
A few months ago, I had a cron job scp a file to another box within my
lan. It worked great and things were good.
I dont remember why I turned it off, but Im trying to set it back up
I started the whole process again and added the SSH2 option to the
command line which now looks like this -
scp -o 'Protocol=2' -v ~/temp/file.zip sys_dev@hivemind:
Towards the bottom you'll see its trying authentication methods, using
the public key as the first option.
I would tend
Date: Fri, 04 Oct 2002 15:48:56 -0400
From: Gerard Samuel [EMAIL PROTECTED]
I started the whole process again and added the SSH2 option to the
command line which now looks like this -
scp -o 'Protocol=2' -v ~/temp/file.zip sys_dev@hivemind:
Good. This is now at least running V2 protocol
system
Kevin Oberman wrote:
Date: Fri, 04 Oct 2002 15:48:56 -0400
From: Gerard Samuel [EMAIL PROTECTED]
I started the whole process again and added the SSH2 option to the
command line which now looks like this -
scp -o 'Protocol=2' -v ~/temp/file.zip sys_dev@hivemind:
Good
unix13:~/$
and scp gives this one:
unix13:~/$ scp foo [EMAIL PROTECTED]:
[EMAIL PROTECTED]'s password:
stty: You can search for documentation on a keyword by typing
unix13:~/$ stdin isn't a terminal
stty: stdin isn't a terminal
stty: stdin isn't a terminal
stty: stdin isn't a terminal
Write
...
[EMAIL PROTECTED]'s password:
Received message too long 1500476704
unix13:~/$
Unfortunately that's not sufficient information to diagnose exactly
what's wrong. Could you try running your scp and sftp commands again
with liberal use of the '-v' (verbose) flag:
Ooops. spoke (typed?) too soon
I'm running FreeBSD 4.6.2. I can ssh into the box fine, but sftp gives
this error message:
unix13:~/$ sftp [EMAIL PROTECTED]
Connecting to machine.name...
[EMAIL PROTECTED]'s password:
Received message too long 1500476704
unix13:~/$
and scp gives this one:
unix13:~/$ scp foo [EMAIL PROTECTED
A few months ago, I had a cron job scp a file to another box within my
lan. It worked great and things were good.
I dont remember why I turned it off, but Im trying to set it back up.
Both boxes are running FBSD 4.6.2-Release.
On the sending box -
1. ssh-keygen -t rsa //Accept the defaults
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 files to the production webserver using
scp or sftp, but not to have
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 /sbin/nologin.
Unfortunately as you've observed, that won't work. You have to have a
valid shell
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 /sbin
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 really have to permit shell access for these accounts in order
101 - 195 of 195 matches
Mail list logo