05-18-2017
Maybe Your OpenSSH-Version is too old.
Look here:
OpenSSH: Release Notes
As far as I understand the text, bandwidth limiting for sftp-client came with version:
OpenSSH 5.7/5.7p1 (2011-01-24)
CentOS(RHEL) 5.x ships OpenSSH Version 4.3. / CentOS(RHEL) 6.x ships OpenSSH Version 5.3 - both too old. If it is an option you may use scp, which has bandwidth limiting since OpenSSH version 3.6.
Last edited by stomp; 05-18-2017 at 05:56 AM..
10 More Discussions You Might Find Interesting
1. SCO
I installed openssh on 711 to gain ssh and sftp. When i type sftp (installed in /usr/local/bin) i get the following available options
usage: sftp host
which isnt what i expect. I expect the full implementation :
sftp
host
sftp host]]
sftp host]]... (0 Replies)
Discussion started by: townsenn
0 Replies
2. Shell Programming and Scripting
Hi,
Can some one please tell me the file size limit (if any) while using sftp
I am trying to transfer a file ( size is almost 350 MB ) but it fails as shown below.
sftp> put file1 ./file1
Uploading file1 to /dir1/./file1
file1 25% 100MB 10.2MB/s 00:28 ETA
Couldn't write to remote... (6 Replies)
Discussion started by: vikash_k
6 Replies
3. UNIX for Advanced & Expert Users
Hi All Experts,
I hope you are all ok! :D
My question is simple but I was not able to find an answer in the internet, and that's why I am here!
My question is: when I sftp to a server and use "put -P" option to put a file, it keeps the file's full permission and access time. Check below... (5 Replies)
Discussion started by: felipe.vinturin
5 Replies
4. Shell Programming and Scripting
To find all the files in your home directory that have been edited in some way since the last tar file, use this command:
find . -newer backup.tar.gz
Is anyone familiar with an older solution?
looking to identify files older then 15mins across several directories.
thanks,
manny (2 Replies)
Discussion started by: mr_manny
2 Replies
5. UNIX for Advanced & Expert Users
Dear All
I m using squid 2.7 Stable 9 and Dansguardian 2.10.1.1, i have compiled both squid and dansguardian, i want use follow_x_forwarded_for in squid make clients IPs visible to squid, but this option is not working correctly, i have also set x_forwarded_for=on in dansguardian and my squid... (0 Replies)
Discussion started by: surfer24
0 Replies
6. Shell Programming and Scripting
Hi,
what does -b option do in sftp batch mode..?:confused: (1 Reply)
Discussion started by: rahulsxn660
1 Replies
7. Shell Programming and Scripting
I have read documentation on SCP and just trying to figure out how go about doing this - below are two pieces of code, one is SFTP and one is SCP. My goal is to have this done via password-less authentication, fully automated. Currently we use SFTP and the script asks for the password of the... (20 Replies)
Discussion started by: Stigy
20 Replies
8. Shell Programming and Scripting
Hi,
I am trying to create more than one directory by using -p option in SFTP session.
But it created a directory named -p and ended.
It didn't throw any error.
sxxxxxxx:(abc)/test> sftp abcuser@zxxxxxxx
Connecting to zxxxxxxx...
Password:
sftp> pwd
Remote working directory: /test... (3 Replies)
Discussion started by: gthangav
3 Replies
9. Red Hat
I needed to set up an sftp server for an external user to upload data for an internal developer.
What I did was created a chrooted user for the external guy, and then created an internal group with full permissions to that directory and then made the internal developer a member of that group so... (5 Replies)
Discussion started by: xdawg
5 Replies
10. Shell Programming and Scripting
Can anyone explain me the below sftp command
sftp -oStrictHostKeyChecking=no @SFTP_PROXY_COMMAND@ -v oIdentityFile=$sftpIdentity -b $PutSFTPbatch.bat $sftpUrl
I need explanation for the below parameters with all their possible values
-oStrictHostKeyChecking=no @SFTP_PROXY_COMMAND@
-v... (1 Reply)
Discussion started by: Little
1 Replies
LEARN ABOUT DEBIAN
lsh-export-key
LSH-EXPORT-KEY(1) Lsh Manuals LSH-EXPORT-KEY(1)
NAME
lsh-export-key - Reads the key on stdin and output in OpenSSH/SSH2 format.
SYNOPSIS
lsh-export-key [OPTION...]
DESCRIPTION
CAUTION! The information in this manpage may be invalid or outdated. For authorative information on lsh, please see it's Texinfo manual
(see the SEE ALSO section).
The given key (supplied on stdin or in the file given with the --input-file option) is read and written to stdout (or the file supplied by
the --output-file option) in the desired format (fingerprint, OpenSSH format or SSH2/IETF style).
EXAMPLES
To convert the default public key (~/.lsh/identity.pub) to OpenSSH format (to put in authorized_keys on a host using the OpenSSH sshd).
$ lsh-export-key --openssh < ~/.lsh/identity.pub
To check the fingerprint of your servers key.
$ lsh-export-key --fingerprint < /etc/lsh_host_key.pub
MD5 fingerprint: b9:86:04:e0:89:2b:5b:c7:0c:2b:4b:3f:24:d2:41:59
Bubble Babble: xefes-vyrum-buduk-nihyr-zotan-sizyr-nazik-hukyv-biloc-caceg-taxyx
$
OPTIONS
-c, --comment=comment string
Add comment to output key.
--fingerprint
Show key fingerprint.
-o, --output-file=Filename Default is stdout
--openssh
Output key in openssh single-line format.
-r, --input-file=Filename
Default is stdin
-s, --subject=subject string
Add subject to output key.
--debug
Print huge amounts of debug information
--log-file=File name
Append messages to this file.
-q, --quiet
Suppress all warnings and diagnostic messages
--trace
Detailed trace
-v, --verbose
Verbose diagnostic messages
-?, --help
Give this help list
--usage
Give a short usage message
-V, --version
Print program version
Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.
DIAGNOSTICS
See the --verbose , --trace and --debug options.
REPORTING BUGS
Report bugs to <bug-lsh@gnu.org>.
COPYING
The lsh suite of programs is distributed under the GNU General Public License; see the COPYING and AUTHORS files in the source distribution
for details.
AUTHOR
The lsh program suite is written mainly by Niels Moller <nisse@lysator.liu.se>.
This man-page was written for lsh 2.0 by Pontus Freyhult <pont_lsh@soua.net>, it is based on a template written by J.H.M. Dassen (Ray)
<jdassen@wi.LeidenUniv.nl>.
SEE ALSO
DSA(5), lsh(1), lsh-authorize(1), lsh-decode-key(1), lsh-decrypt-key(1), lsh-keygen(1), lsh-make-seed(1), lsh-upgrade(1), lsh-upgrade-
key(1), lsh-writekey(1), lshd(8), secsh(5), SHA(5), SPKI(5), ssh-conv(1)
The full documentation for lsh is maintained as a Texinfo manual. If the info and lsh programs are properly installed at your site, the
command
info lsh
should give you access to the complete manual.
LSH-EXPORT-KEY NOVEMBER 2004 LSH-EXPORT-KEY(1)