Sponsored Content
Full Discussion: ssh doubt..
Top Forums Shell Programming and Scripting ssh doubt.. Post 302336171 by RiSk on Tuesday 21st of July 2009 11:25:20 AM
Old 07-21-2009
Quote:
Originally Posted by balamv
Thank you so much

---------- Post updated at 05:50 PM ---------- Previous update was at 04:34 PM ----------

Hi,

Is this correct? I am getting the below error..


/sbin/sh: yes: not found

go to the remote machine and type "which yes" if you get nothing back you do not have the command "yes"

Im guessing the remote box is a Sun server as your using pkgrm, and I think "yes" is in /bin/
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

doubt in "ssh"

Hello sir, Im using a FEDORA 9 system. We can invoke the terminal of any user using ssh.For example for the local domain :- My req. is that I want to open the terminal and see that a command runs in the terminal that is opened. Eg: I want to invoke a terminal and run "ls". instead of typing... (11 Replies)
Discussion started by: nsharath
11 Replies

2. UNIX for Dummies Questions & Answers

doubt in ssh command for remote login

Hello sir, Im using ubuntu distro. We all know that ssh is used for password less entry.So, I have the public key and the IP address and the username thats it. Now to login it to the system either I should have password or a private key.Now I have the blacklist of private/public keys. But I dont... (1 Reply)
Discussion started by: nsharath
1 Replies

3. UNIX for Dummies Questions & Answers

A doubt with SSH

Hello forum members, I am trying login to remote machine so i have to know which is option with ssh. Iam on spdiu05 machine and iam trying to login to spdma505.so plz tell correct comand.ASAP Advance thanks. Siva Ranganath Ch (3 Replies)
Discussion started by: sivaranga001
3 Replies

4. Solaris

Doubt regarding SSH

Hi, I started my ssh daemon on my new built host, but still am not able to do ssh. Can you please let me know what file do I need to add my hostname for enabling the SSH. (4 Replies)
Discussion started by: rogerben
4 Replies

5. Ubuntu

SSH and VPM Doubt

hI MY Nerd folks...i have ubuntu 10.4 in my machine...i want to use open shh in my latop for the sake of being complete anonymous...but am just a noob anyont got any tips for me for the complete steps or for How to LInks ...watever..thanks in advance (4 Replies)
Discussion started by: surensach
4 Replies

6. Shell Programming and Scripting

Small doubt for using wget cia SSH!!!

Hi Guys, I have just ran into a small problem where I am trying to ssh to another server and the script does a wget on that server. Following is the syntax I am using though it's not working as expected. A normall wget on the local system simply shows the verbose output in one horizontal line... (2 Replies)
Discussion started by: rockf1bull
2 Replies

7. Shell Programming and Scripting

Ssh = ssh expect and keep everything not change include parameter postion

I have write a script which contains ssh -p 12345 dcplatform@10.125.42.50 ssh 127.0.0.1 -p 5555 "$CMD" ssh root@$GUEST_IP "$CMD" before I use public key, it works well, now I want to change to "expect", BUT I don't want to change above code and "parameter position" I can post a... (1 Reply)
Discussion started by: yanglei_fage
1 Replies

8. UNIX for Beginners Questions & Answers

Ssh script to validate ssh connection to multiple serves with status

Hi, I want to validate ssh connection one after one for multiple servers..... password less keys already setup but now i want to validate if ssh is working fine or not... I have .sh script like below and i have servers.txt contains all the list of servers #/bin/bash for host in $(cat... (3 Replies)
Discussion started by: sreeram4
3 Replies

9. Shell Programming and Scripting

Find active SSH servers w/ ssh keys on LAN

Hi, I am trying to complete my bash script in order to find which SSH servers on LAN are still active with the ssh keys, but i am frozen at this step: #!/bin/bash # LAN SSH KEYS DISCOVERY SCRIPT </etc/passwd \ grep /bin/bash | cut -d: -f6 | sudo xargs -i -- sh -c ' && cat... (11 Replies)
Discussion started by: syrius
11 Replies
set_color(1)							       fish							      set_color(1)

NAME
set_color - set_color - set the terminal color set_color - set the terminal color Synopsis set_color [-v --version] [-h --help] [-b --background COLOR] [COLOR] Description Change the foreground and/or background color of the terminal. COLOR is one of black, red, green, brown, yellow, blue, magenta, purple, cyan, white and normal. o -b, --background Set the background color o -c, --print-colors Prints a list of all valid color names o -h, --help Display help message and exit o -o, --bold Set bold or extra bright mode o -u, --underline Set underlined mode o -v, --version Display version and exit Calling set_color normal will set the terminal color to whatever is the default color of the terminal. Some terminals use the --bold escape sequence to switch to a brighter color set. On such terminals, set_color white will result in a grey font color, while set_color --bold white will result in a white font color. Not all terminal emulators support all these features. This is not a bug in set_color but a missing feature in the terminal emulator. set_color uses the terminfo database to look up how to change terminal colors on whatever terminal is in use. Some systems have old and incomplete terminfo databases, and may lack color information for terminals that support it. Download and install the latest version of ncurses and recompile fish against it in order to fix this issue. Version 1.23.1 Sun Jan 8 2012 set_color(1)
All times are GMT -4. The time now is 09:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy