Search Results

Search: Posts Made By: shekhar2010us
10,477
Posted By ahamed101
Try 644 for authorized keys and 600 for .ssh...
Try 644 for authorized keys and 600 for .ssh folder
Check /var/log/auth.info for some information.

Also try ssh in debug mode using -v option

--ahamed
10,477
Posted By rohit22hamirpur
We can also generate the key through ssh-keygen...
We can also generate the key through ssh-keygen command and copy that key on that server where you want to ssh.
10,477
Posted By hfreyer
Can't confirm statement 3. of Chubler_XL. I'm...
Can't confirm statement 3. of Chubler_XL. I'm using expect for ssh connections.
One might think of extending the expect command to handle the ssh login state machine,
e.g. something like this:

...
10,477
Posted By Chubler_XL
There are heaps of articles on the web showing...
There are heaps of articles on the web showing how to setup public/private RSA keys for ssh for example Using SSH keys for Password-less login...
10,477
Posted By Corona688
If you use ssh keys, you won't need to kludge in...
If you use ssh keys, you won't need to kludge in insecure stored-plaintext passwords in with a third-party utility unavailable on most machines.
2,730
Posted By dude2cool
try this, put double quotes around mydate=`date` ...
try this, put double quotes around mydate=`date`

nawk -v "mydate=`date`" 'BEGIN{RS=""; FS="\</inputProvision\>"} {print mydate ; for(i=1;i<=NF;i++){ if ($i~/\"\"/) print $i"</inputProvision>"}}'...
2,730
Posted By itkamaraj
try this... myvar=$(date);nawk -v...
try this...

myvar=$(date);nawk -v mydate=$myvar 'BEGIN{RS=""; FS="\</inputProvision\>"} {print mydate ; for(i=1;i<=NF;i++){ if ($i~/\"\"/) print $i"</inputProvision>"}}' test
2,730
Posted By itkamaraj
$ nawk 'BEGIN{RS=""; FS="\</input\>"}...
$ nawk 'BEGIN{RS=""; FS="\</input\>"} {for(i=1;i<=NF;i++){ if ($i~/\"\"/) print $i"</input>"}}' test
<input>
<blah>
<blah>
<atr="blah blah" value =...
1,037
Posted By bartus11
awk '/value=\"N\"/{getline;print}' file
awk '/value=\"N\"/{getline;print}' file
1,317
Posted By bartus11
comm -13 <(sort file1) <(sort file2)
comm -13 <(sort file1) <(sort file2)
5,018
Posted By bartus11
nawk -F"[:\"]" '{gsub(" ","");print $11,$2,$1}'...
nawk -F"[:\"]" '{gsub(" ","");print $11,$2,$1}' file
5,018
Posted By bartus11
So you ARE on Solaris (SunOS 5.10 = Solaris). Try...
So you ARE on Solaris (SunOS 5.10 = Solaris). Try this: nawk -F'"' 'NR%2{sub (":.*","",$1);print $1;next}{print $4}' file
Showing results 1 to 12 of 12

 
All times are GMT -4. The time now is 08:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy