05-13-2015
Your OS is likely stuck at some early boot milestone.
You need to connect to its console through the ilom to figure out what is going wrong.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am trying to run the below command in perl but when the perl script is executed it prompts a error message saying " ssh: <username>: Name or service not known ". Not able to understand this as this command runs perfectly on the server prompt.
` ssh <username>@pus4026dev df -k >>... (2 Replies)
Discussion started by: be2sp1
2 Replies
2. UNIX for Advanced & Expert Users
Is it possible to change the password using a shell script, I want to remotely connect to a computer and then change password without manual intevention.
Thanks in Advance
Rishi (4 Replies)
Discussion started by: RishiPahuja
4 Replies
3. UNIX for Advanced & Expert Users
Hi
Can someone giv me some knowledge on accesing windows from unix and executing DOS scripts using SSH
I would like to know how to go abt it...am new to it.
Thanks in advance (1 Reply)
Discussion started by: lakshmis10
1 Replies
4. Shell Programming and Scripting
Hi,
i have a problem with a shell script. I need to change the owner and group of a file on a remote machine.
I tried to use ssh but have some problems.
The code:
group=`ssh -t -t $1 -p 3344 "stat -c %G $cpath/FILE"`
echo " $2:$group "
echo $1
echo $cpath
ssh $1 -p 3344 "chown... (5 Replies)
Discussion started by: Linien
5 Replies
5. UNIX for Advanced & Expert Users
just wanted to ask if anybody have script template for the subject above so I can make ti as my guide? example
a. server 1.1.1.1: restart script located at /etc/init.d/glassfish.sh
b. server 2.2.2.2: central script that support admin will use to execute to restart the /etc/init.d/glassfish.sh... (0 Replies)
Discussion started by: lhareigh890
0 Replies
6. UNIX for Advanced & Expert Users
need advise on the ff
a. what would be the best language for script that I can use to create a restart facility of all applications and instances I have on let say more than 20 servers?
b. don't you think its not secure to have a central script residing on one server to remotely create a... (9 Replies)
Discussion started by: lhareigh890
9 Replies
7. Shell Programming and Scripting
Hi
I would like to append/modify crontab remotely over ssh and this is what i have tried so far.
text.txt contains the following line.
0,15,30,45 * * * * /home/local/hello.sh
cat text.txt |ssh $host 'tee'
but i dont know how to edit the crontab here after piping it to tee command. (2 Replies)
Discussion started by: xiamin
2 Replies
8. Shell Programming and Scripting
Hi all,
Today I want to write a script to run the commands remotely.
If I run the command as follows:
ssh <user>@<ip> 'ls; pwd'
it works fine.
But when I want to use ssh to set view in clearcase, it will lose the response. as follows
ssh <user>@<ip> 'cleartool setview <view_name>; pwd'... (1 Reply)
Discussion started by: Damon_Qu
1 Replies
9. Solaris
Hello. I am trying to ssh and run a script from a remote computer. These computers will be both Windows and MACs. I am using Solaris 8 and what I have tried is:
using putty
ssh user@ip_address (remote command) /folder/folder/filename.sh
The issue here is that the user profile has not... (3 Replies)
Discussion started by: jkmtm
3 Replies
10. Shell Programming and Scripting
Hi,
I am trying to edit the /etc/sudoers file using ksh, however I am unable to do that. Please find the code below:
ssh $i "/usr/local/bin/sudo /usr/bin/echo "$user_id ALL=(ALL) ALL" >> /etc/sudoers"
I've tried changing the double quotes to single but it is still not working. The... (3 Replies)
Discussion started by: Kits
3 Replies
LEARN ABOUT DEBIAN
setupcon
SETUPCON(1) Console-setup User's Manual SETUPCON(1)
NAME
setupcon - sets up the font and the keyboard on the console
SYNOPSIS
setupcon [OPTION]... [VARIANT]
DESCRIPTION
setupcon is a program for fast and easy setup of the font and the keyboard on the console. Most of the time you invoke setupcon without
arguments. The keyboard configuration is specified in ~/.keyboard or /etc/default/keyboard. The font configuration is specified in
~/.console-setup or /etc/default/console-setup. Consult keyboard(5) and console-setup(5) for instructions how to configure these two
files.
If you have to switch often between different encodings, keyboards or languages, you can prepare several alternative configuration files
for setupcon. Suppose that most of the time you will use Greek language with Greek keyboard layout, but sometimes you need to type in Ger-
man with German keyboard layout. In this situation you should customize the main configuration files (keyboard and console-setup) for
Greek. Create also alternative configuration files for German named keyboard.german and console-setup.german. Then in order to configure
the console for Greek you will simply run the command with no arguments: setupcon and in order to configure the console for German you will
use setupcon german.
OPTIONS
-v, --verbose
Be more verbose. Use this option if something goes wrong or while experimenting with the configuration files.
-k, --keyboard-only
Setup the keyboard only, do not setup the font.
-f, --font-only
Setup the font only, do not setup the keyboard.
--force
Do not check whether we are on the console. Notice that you can be forced to hard-reboot your computer if you run setupcon with
this option and the screen is controlled by a X server.
--save This option can be useful if you want to use setupcon early in the boot process while /usr is not yet mounted and the required data
are not available. This option will make setupcon copy the required files in /etc/console-setup/ in order to make them available
before /usr is mounted. If you use setupcon early in the boot process, then you should run it with this option after every change
of the console configuration.
--save-only
The same as --save, but does not setup the keyboard and the font. This option can be useful if you want to save the required files
while the screen is controlled by a X server.
-h, --help
Display usage information.
VARIANT
Specifies which configuration file to use. By default the configuration files of setupcon are named console-setup and keyboard but
if you use e.g. chukchi as VARIANT then the configuration files will be console-setup.chukchi and keyboard.chukchi. In this way
you can have easy access to several different configurations - for example one for the Chukchi language and another for the default
configuration.
FILES
~/.console-setup
~/.keyboard
/etc/default/console-setup
/etc/default/keyboard
/etc/default/console-setup.VARIANT
/etc/default/keyboard.VARIANT
/etc/console-setup/
SEE ALSO
keyboard(5), console-setup(5)
console-setup 2011-03-17 SETUPCON(1)