05-12-2009
Thanks for your answer, but I decided to go with ssh
Thanks again
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
To anyone who can help greetings,
I am a beginner at Unix shell scripting and am taking a class.
The assignment question is as follows:
use a command-line tool named "itstat" which will display the resolution of an image file and some other lines of information. It accepts a list of image... (1 Reply)
Discussion started by: tech2040
1 Replies
2. Shell Programming and Scripting
To anyone who can help greetings,
I am a beginner at Unix shell scripting.
I need to know how to use the command line tool "itstat".
I understand it's application, however I cannot find any additional information.
Any assistance will be greatly appreciated. (3 Replies)
Discussion started by: tech2040
3 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I am assaigning the output to the variable outp and when i try to loop thru the variable i see the original content $OUTPUT also in the array outp.
I dont want to have the original content in the array outp.
Please reply.
outp=$(echo $OUTPUT | awk '{FS = "|"}{
for(i=0;i<NF;i++)... (8 Replies)
Discussion started by: vijaykrc
8 Replies
4. UNIX for Dummies Questions & Answers
Testing for the presence/absence of a pattern in a file, using /bin/sh:
while read a;
do
b="${a##*pattern*}";
;
done < file
This returns 0 if there's a match. That signal ($?) can then be used outside the loop.
However this method reads through the whole file, even if the match... (2 Replies)
Discussion started by: uiop44
2 Replies
5. Shell Programming and Scripting
Hello,
I have a scenario for which I am trying to write a shell script and I have a question regarding the same. Here's the situation:
I am trying to copy a directory which consists of a few sub-directories and .c and .dat extension files say n number of times so that the copied file have... (3 Replies)
Discussion started by: corntown118
3 Replies
6. Shell Programming and Scripting
Hi,
I need to write a script that runs a series of commands in multiple subfolders. The problem is that I dont want to change directory for every folder. So this is why I thought to use a master script to activate the smaller ones.
So, is there a way to command other scripts to open in... (9 Replies)
Discussion started by: Fuyudo
9 Replies
7. Shell Programming and Scripting
Hi guys,
I am wanting to create a script that will logon to HackThisSite.org and complete Programming Mission 11. You can find a link to this mission here for your reference:
www hackthissite org/missions/prog/11/
The following is what I have so far:
#!/bin/bash
USER="myUsername"... (0 Replies)
Discussion started by: spooke
0 Replies
8. Shell Programming and Scripting
hey i have to connect to sql through shell script , then store the value of the query in a variable and then compare it after some time after running a process.
i have used this code but it is not working.
#!/bin/sh
Val = (sqlplus -s rte/rted2@rel76d2 <<!
SELECT MAX(STAT_ID) FROM CVT_STATS;... (3 Replies)
Discussion started by: ramsavi
3 Replies
9. UNIX for Dummies Questions & Answers
Unix script coding help?
i am trying to write a code that will display following menu to user:
(A) Add
(B) Subtract
(C) Multiply
(D) Divide
(E) Modulus
(F) Exponentiation
(G) Exit
Then ask user for choice (A-F). After taking users choice ask user for two numbers and
perform... (0 Replies)
Discussion started by: renegade755
0 Replies
10. Shell Programming and Scripting
I tried to run a command which simply generates SSH key with out prompting password.
After several trails , got the below command to run the script :
ssh-keygen -t rsa -N "" -f id_rsa
-N "" tells it to use an empty passphrase (the same as two of the enters in an interactive script)
-f... (0 Replies)
Discussion started by: ulaxmi
0 Replies
LEARN ABOUT MOJAVE
ssh-keysign
SSH-KEYSIGN(8) BSD System Manager's Manual SSH-KEYSIGN(8)
NAME
ssh-keysign -- ssh helper program for host-based authentication
SYNOPSIS
ssh-keysign
DESCRIPTION
ssh-keysign is used by ssh(1) to access the local host keys and generate the digital signature required during host-based authentication.
ssh-keysign is disabled by default and can only be enabled in the global client configuration file /etc/ssh/ssh_config by setting
EnableSSHKeysign to ``yes''.
ssh-keysign is not intended to be invoked by the user, but from ssh(1). See ssh(1) and sshd(8) for more information about host-based authen-
tication.
FILES
/etc/ssh/ssh_config
Controls whether ssh-keysign is enabled.
/etc/ssh/ssh_host_dsa_key
/etc/ssh/ssh_host_ecdsa_key
/etc/ssh/ssh_host_ed25519_key
/etc/ssh/ssh_host_rsa_key
These files contain the private parts of the host keys used to generate the digital signature. They should be owned by root, read-
able only by root, and not accessible to others. Since they are readable only by root, ssh-keysign must be set-uid root if host-
based authentication is used.
/etc/ssh/ssh_host_dsa_key-cert.pub
/etc/ssh/ssh_host_ecdsa_key-cert.pub
/etc/ssh/ssh_host_ed25519_key-cert.pub
/etc/ssh/ssh_host_rsa_key-cert.pub
If these files exist they are assumed to contain public certificate information corresponding with the private keys above.
SEE ALSO
ssh(1), ssh-keygen(1), ssh_config(5), sshd(8)
HISTORY
ssh-keysign first appeared in OpenBSD 3.2.
AUTHORS
Markus Friedl <markus@openbsd.org>
BSD
February 17, 2016 BSD