coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Thursday May 23, 2013


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?

Who's Online
We have 34 guests online

Newest Member

nbewwmbxog

Hit Counter
11564668 Visitors

cool Statistics
coolcommands:1338
Categories:83
Total queries:620314
Members:22813





Search coolcommands.com
Search Keyword:


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



FREE
myPMS

Password
Management
System

by

LVOware.com




Top 5 Submitters

lvo1160
audet37
kah00na32
Mariom24
lebjf00014

Top 5 Searches

Category Solaris51952
Category AIX49058
Category General UNIX47581
solaris23554
aix22739

Terms of Use
Privacy
Contact


 
coolcommands.com © 2013. All Right Reserved.
Programming by PRATTICO Consulting . Hosting by Apricusum