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.
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.
&
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
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
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
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
> 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
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
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.
___
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,
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
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
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
; 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
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.
___
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;
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
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
: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.
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
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. :-)
>
>
>
>
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
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
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
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
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
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
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
> "'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
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
> "'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
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
>> 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
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
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
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
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
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,
>>
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
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
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.
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
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
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
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
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
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
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
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
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
&
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.
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"
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
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
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.
&
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
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
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
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
-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.
>
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
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
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"
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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...
--
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
-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
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
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:
-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
: 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
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)
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
-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
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
> 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.
___
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
> >>> #!/
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}]";
> &
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}]";
>&
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
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
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
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
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
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 - 100 of 196 matches
Mail list logo