|
| cool Statistics |
| | coolcommands: | 1338 | | Categories: | 83 | | Total queries: | 620314 | | Members: | 22813 | |
|
|
|
 |
|
|
Search coolcommands.com
 |
Submitted by:
lvo   |
coolcommand
how to setup an sftp batch job and allow password input |
Description
If you want to setup an sftp batch jpb but don't have private/public keys in place for passwordless authentication, you must use the -o option batchmode as follows:
# sftp -o "batchmode no" -b sftp.batch username@servername
The input file, sftp.batch as in this example, would contain lines like this::
# cat sftp.batch cd /some/remote/dir put file1 put file2 exit
|
Example
sftp -o "batchmode no" -b sftp.batch username@servername |
Return to search results
 |  |  |  |
Random coolcommands
coolcommand: lssysconn - how to list connection info for systems and frames managed by IBM HMC
Example: lssysconn -r all
[show me the details] |
coolcommand: crash - find the number of asynchronous IO in IBM AIX
Example: crash
[show me the details] |
coolcommand: mkrep - how to create virtual media repositories in IBM VIO Server
Example: mkrep -sp rootvg -size 16G
[show me the details] |
coolcommand: how to determine which application created the OS core file in AIX
Example: /usr/sbin/lquerypv -h /tmp/core 6b0 64
[show me the details] |
|
|
coolcommands.com - the search engine for UNIX sysadmins :: unix commands and scripts
|  |  |  |  |
|
|
|
|
 |
|
|
|
Top 5 Submitters
|
|---|
| lvo | 1160 |
| audet | 37 |
| kah00na | 32 |
| Mariom | 24 |
| lebjf000 | 14 |
Top 5 Searches
|
| Category Solaris | 51952 |
| Category AIX | 49058 |
| Category General UNIX | 47581 |
| solaris | 23554 |
| aix | 22739 |
|
|
|
|