08-13-2009
To my knowledge, when a server is build an ip address should be assigned to it by default. You can get the default ip address from the vendor (Or it should be specified along with the default host name printed on a tag tied on the front or stuck on the top part of the balde).
You can use this ipaddress / host name to connect through SSH. Once you are able to connect to the system, you can change the default hostname and ipaddress.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
dear experts:
I have a system with that specification:
intel PII 266 MMX
10GB hard disk
64MB RAM
I want to install Mandrake 8.2 and windows me in the same box .. how can I do that .. I look for help in the net but all of those faq are complecated. and the partition software dos not... (5 Replies)
Discussion started by: RuDe_BuT_CoOoL
5 Replies
2. UNIX for Advanced & Expert Users
Hi, is there anyway i can view a remote linux desktop on my windows desktop?
i am aware that X11 can see 'certain screens'. For eg if i type 'xclock &' and i have a client running on my windows, i can see the clock.
If i am interested to see the entire desktop of my linux, how can i do it? (4 Replies)
Discussion started by: new2ss
4 Replies
3. Solaris
Hi Everyone!
This is what I need to do...
I am deploying some directories over to a windows server 2000/3 box from my solaris10 box and I need to make sure the directories exist.
The only form of connection I have to work with is SSH
Currently, my script deploys the directories over... (13 Replies)
Discussion started by: Keepcase
13 Replies
4. Windows & DOS: Issues & Discussions
So I have been playing around with some code and thought I would tap
the vast Linux knowledge here.
My company has a bunch of servers running Linux on the Amazon cloud. I have
created a Windows application in C++ that acts like a remote desktop
to the Linux servers. When I run it it connects... (3 Replies)
Discussion started by: bobmanc
3 Replies
5. Shell Programming and Scripting
I am trying to connect to Windows server via Linux server through a script and run two commands " cd and ls " But its giving me error saying " could not start the program" followed by the command name i specify e g : "cd"
i am trying in this manner "
ssh username@servername "cd... (5 Replies)
Discussion started by: sunil seelam
5 Replies
6. Shell Programming and Scripting
Hi all,
i need to run a shell script on remote server. I have created file .bat file in windows server with following code,
c:\Users\Desktop\putty.exe -ssh -pw password user@server ./script.sh
i need to run the script.sh in my remote server
Above command is not working, any... (4 Replies)
Discussion started by: rammm
4 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I have a file, say details.txt on my windows machine. I want to copy it to linux machine through a shell script and edit the file and transfer the file back to windows machine. (All I want to do is to edit the file on windows machine from linux machine by a script.)
I have tried scp... (1 Reply)
Discussion started by: Devendra Hupri
1 Replies
8. UNIX for Advanced & Expert Users
Hi
We use to run DOS and VB script in Windows Server . Now the requirement is to trigger the same script from AIX server by shell script , thus it would be executed in Remote Windows Server . Is it possible ( though SSH or any other way ) ?
Thanks (2 Replies)
Discussion started by: Sourajit Seth
2 Replies
9. Shell Programming and Scripting
Hi All
I need to transfer a file from a UNIX server to a windows server.
I saw that it is possible to do this using scp command by looking at the forum listed below:
... (2 Replies)
Discussion started by: vx04
2 Replies
LEARN ABOUT DEBIAN
app::clusterssh::host
App::ClusterSSH::Host(3pm) User Contributed Perl Documentation App::ClusterSSH::Host(3pm)
NAME
ClusterSSH::Host - Object representing a host.
SYNOPSIS
use ClusterSSH::Host;
my $host = ClusterSSH::Host->new({
hostname => 'hostname',
});
my $host = ClusterSSH::Host->parse_host_string('username@hostname:1234');
DESCRIPTION
Object representing a host. Include details to contact the host such as hostname/ipaddress, username and port.
METHODS
$host=ClusterSSH::Host->new ({ hostname => 'hostname' })
Create a new host object. 'hostname' is a required arg, 'username' and 'port' are optional. Raises exception if an error occurs.
$host->get_hostname
$host->get_username
$host->get_port
$host->get_master
Return specific details about the host
$host->set_username
$host->set_port
$host->set_master
Set specific details about the host after its been created.
get_realname
If the server name provided is not an IP address (either IPv4 or IPv6) attempt to resolve it and retun the discovered names.
get_givenname
Alias to get_hostname, for use when " get_realname " might return something different
parse_host_string
Given a host string, returns a host object. Parses hosts such as
check_ssh_hostname
Check the objects hostname to see whether or not it may be configured within the users $HOME/.ssh/config configuration file
host
192.168.0.1
user@host
user@192.168.0.1
host:port
[1234:1234:1234::4567]:port
1234:1234:1234::4567
and so on. Cope with IPv4 and IPv6 addresses - raises a warning if the IPv6 address is ambiguous (i.e. in the last example, is the
4567 part of the IPv6 address or a port definition?) and assumes it is part of address. Use brackets to avoid seeing warning.
AUTHOR
Duncan Ferguson, "<duncan_j_ferguson at yahoo.co.uk>"
LICENSE AND COPYRIGHT
Copyright 1999-2010 Duncan Ferguson.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as
published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
perl v5.14.2 2012-06-24 App::ClusterSSH::Host(3pm)