04-20-2007
Running UNIX commands remotely in Windows box from Unix box – avoid entering password
I am able to run the UNIX commands in a Windows box from a UNIX box through "SSH" functionality. But whenever the SSH connection is established between UNIX and Windows, password for windows box is being asked.
Is there a way to avoid asking password whenever the SSH connection is made? Can I store required passwords in a file and then use that file for password prompt whenever SSH is established?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi, my question is quite simple: Can I update a csv file which is held on a unix box (and which a script on the same box uses) with Microsoft Excel running in a windows environment? Or, is there a free spreadsheet package available to run in unix that will update my csv file. I know it's easy to... (5 Replies)
Discussion started by: Sn33R
5 Replies
2. UNIX for Advanced & Expert Users
If I want to access unix box via VPN tunnel,from windows box.
What sould I configure on the windows client PC, and what should I enable on the Unix Server box ?
I am using Solaris V10 intel platform, and I am using windows XP, and 2003 for client (0 Replies)
Discussion started by: zillah
0 Replies
3. UNIX for Advanced & Expert Users
Hi all,
I am generating a file on the Unix machine , now i want to FTP the same file to the NT machine.
how can i do that and the application currently upon which i am working is a JAVA based application.
I need your help.
regards
Ruchir (2 Replies)
Discussion started by: Ruchir
2 Replies
4. Shell Programming and Scripting
Hi All,
I need to know if it is possible ftping files from unix box to windows box .
if yes , how ?. Is there any pre-requisits.
Please tell me the steps, this is very urgent.
Thnx
Aru (8 Replies)
Discussion started by: aarora_98
8 Replies
5. Shell Programming and Scripting
Hi All,
I need a little help .I want to transfer a file from unix box to a windows box,but the problem i'm facing is that in windows box FTP is not enabled and currently it is nearly impssible to change setting on windows box,i can not use the ftp method ,in my shell script to transfer the file.... (2 Replies)
Discussion started by: Preet
2 Replies
6. UNIX for Dummies Questions & Answers
scp file="myfile.txt" todir="user@somehost:(M:drive:/somepath/)"/
Not sure I need it to go to a specific drive on the windows box (1 Reply)
Discussion started by: xgringo
1 Replies
7. Shell Programming and Scripting
Hi
our unix admin has copied all files from one unix box to new unix box. We just need to confirm that all the file systems are copied properly. How to validate. (9 Replies)
Discussion started by: sravanreddym
9 Replies
8. Shell Programming and Scripting
Hello all !
I'm trying to write a shell script (bash) to ftp a file starting with particular name like "Latest_" that is present on a Windows box to UNIX server. Basically I want to set this script in the cron so that daily the new build that is posted on the Windows box can be downloaded to the... (2 Replies)
Discussion started by: vijayb4u83
2 Replies
9. UNIX for Dummies Questions & Answers
Hi Folks,
I am using winscp to graphiclly move the files from one unix box to another unix box , let say one unix box crediantials is (These are dummy crediantials)
xxx -->username
yyy -->password
and another unix box name is
RRR -->username
TTT -->password
NOW i need to... (4 Replies)
Discussion started by: punpun66
4 Replies
10. Shell Programming and Scripting
Hi Folks,
I have a file name abc.xml in my windows machine at the location c:\ytr\abc.xml
which I want to place at the unix box machine inside cde directory.. at the following location that is /opt/app/cde/
now the credentials of unix box are
abc345 -->(dummyid)
ftyiu88--->(dummy passwd)
... (4 Replies)
Discussion started by: punpun66
4 Replies
LEARN ABOUT DEBIAN
smokeping_probes_anotherssh
Smokeping_probes_AnotherSSH(3) SmokePing Smokeping_probes_AnotherSSH(3)
NAME
Smokeping::probes::AnotherSSH - Another SSH probe
SYNOPSIS
*** Probes ***
+AnotherSSH
forks = 5
offset = 50%
step = 300
# The following variables can be overridden in each target section
greeting = SSH-Latency-Measurement-Sorry-for-this-logmessage
interval = established
mininterval = 0.5
pings = 5
port = 22
timeout = 5
# [...]
*** Targets ***
probe = AnotherSSH # if this should be the default probe
# [...]
+ mytarget
# probe = AnotherSSH # if the default probe is something else
host = my.host
greeting = SSH-Latency-Measurement-Sorry-for-this-logmessage
interval = established
mininterval = 0.5
pings = 5
port = 22
timeout = 5
DESCRIPTION
Latency measurement using SSH. This generates Logfile messages on the other Host, so get permission from the owner first!
VARIABLES
Supported probe-specific variables:
forks
Run this many concurrent processes at maximum
Example value: 5
Default value: 5
offset
If you run many probes concurrently you may want to prevent them from hitting your network all at the same time. Using the probe-
specific offset parameter you can change the point in time when each probe will be run. Offset is specified in % of total interval, or
alternatively as 'random', and the offset from the 'General' section is used if nothing is specified here. Note that this does NOT
influence the rrds itself, it is just a matter of when data acqusition is initiated. (This variable is only applicable if the variable
'concurrentprobes' is set in the 'General' section.)
Example value: 50%
step
Duration of the base interval that this probe should use, if different from the one specified in the 'Database' section. Note that the
step in the RRD files is fixed when they are originally generated, and if you change the step parameter afterwards, you'll have to
delete the old RRD files or somehow convert them. (This variable is only applicable if the variable 'concurrentprobes' is set in the
'General' section.)
Example value: 300
Supported target-specific variables:
greeting
Greeting string to send to the SSH Server. This will appear in the Logfile. Use this to make clear, who you are and what you are doing
to avoid confusion.
Also, don't use something that is a valid version string. This probe assumes that the connection gets terminated because of protocol
mismatch.
Default value: SSH-Latency-Measurement-Sorry-for-this-logmessage
interval
The interval to be measured. One of:
connect
Interval between connect() and the greeting string from the host.
established
Interval between our greeting message and the end of the connection because of Protocol mismatch. This is the default.
complete
From connect() to the end of the connection.
Default value: established
mininterval
Minimum interval between the start of two connection attempts in (possibly fractional) seconds.
Default value: 0.5
pings
How many pings should be sent to each target, if different from the global value specified in the Database section. Note that the
number of pings in the RRD files is fixed when they are originally generated, and if you change this parameter afterwards, you'll have
to delete the old RRD files or somehow convert them.
Example value: 5
port
Connect to this port.
Default value: 22
timeout
Timeout for the connection.
Default value: 5
AUTHORS
Christoph Heine <Christoph.Heine@HaDiKo.DE>
2.6.8 2013-03-17 Smokeping_probes_AnotherSSH(3)