-p preserve times and modes from the original files transferred. Default not preserved!
INCLUDE -p on wget
| -b file
batch read commands from file, - specifies standard input.
Aborts on failure of: get, put, rename, ln, rm, mkdir, chdir, ls, lchdir, chmod, chown,
chgrp, lpwd, df, symlink, and lmkdir.
Termination on error can be suppressed by prefixing the command with - (Example: -rm /tmp/blah*).
| -r | recursively copy entire directories. Does not follow symbolic links
| -P port |
| -q | quiet disables progress meter, warning and diagnostic messages
| -a| append to files which were partially transfered.
| -v Increase verbosity of logging level, also passed to ssh.
After debug1: Exit status 0 enter a ␍ to continue
| -C | compression
| -F ssh_config | configuration
| -c cipher | Selects the cipher to use for encrypting the data transfers.
| -i identity_file
| from which the identity (private key) for public key authentication is read, passed to ssh(1).
| -l limit | limits the bandwidth, Kbit/s.
| -o ssh_option
Pass options to ssh in the format used in ssh_config, for which
there is no sftp flag.
For example, to specify an alternate port use: sftp -oPort=24. See ssh_config.
AddressFamily
BatchMode
BindAddress
ChallengeResponseAuthentication
CheckHostIP
Cipher
Ciphers
Compression
CompressionLevel
ConnectionAttempts
ConnectTimeout
ControlMaster
ControlPath
ControlPersist
GlobalKnownHostsFile
GSSAPIAuthentication
GSSAPIDelegateCredentials
HashKnownHosts
Host
HostbasedAuthentication
HostKeyAlgorithms
HostKeyAlias
HostName
IdentityFile
IdentitiesOnly
IPQoS
KbdInteractiveAuthentication
KbdInteractiveDevices
KexAlgorithms
LogLevel
MACs
NoHostAuthenticationForLocalhost
NumberOfPasswordPrompts
PasswordAuthentication
PKCS11Provider
Port
PreferredAuthentications
Protocol
ProxyCommand
PubkeyAuthentication
RekeyLimit
RhostsRSAAuthentication
RSAAuthentication
SendEnv
ServerAliveInterval
ServerAliveCountMax
StrictHostKeyChecking
TCPKeepAlive
UsePrivilegedPort
User
UserKnownHostsFile
VerifyHostKeyDNS
| | |
| -S program | to use for the encrypted connection.
| -s subsystem | sftp_server
SSH2 subsystem or the path for an sftp server on the remote host for using over protocol version 1, or
when the remote sshd(8) does not have an sftp subsystem configured.
| -1|-2 | protocol version
| -4|-6| Forces IPv4|IPV6 addresses only.
| -B buffer_size when transferring files. Default : 32768 bytes.
| -R num_requests | Number of outstanding requests. default 64
| -D ftp_srvr_path | Connect directly to a local sftp server (rather than via ssh(1)). for debugging server.
| | | | | | | | | | | | | | | | | | | |
Received message too long 2054383648 = 0x 7A736820 ='zsh '
Received message too long 778199411 = 0x 2E626173 ='.bas'
Received message too long 1226858861 = 0x 4920616D ='I AM'
Received message too long 1701733408 = 0x 656E6420 ='end '
Received message too long 2054383648 = 0x 7A736820 ='zsh '
Use
bc to convert integer code to hex :obase=16; 1226858861
␍
4920616D , then look up the ASCII characters
I a m , as in 'I am .profile , v1.26 called from …')
To see what the text is use :
/usr/bin/ssh server /bin/true > out.dat
This is caused by any output from the various login scripts, profile, .profile, .bachrc, …
To corret this include, before any tty output, if [ -z "$PS1" ]; then return; fi
stat sourceName No such file or directory
sftp issues a
stat on the source before it does a
put so it blames
stat.
Version on mac sequoia 15.2 from strings: