10-25-2016
This is a remote server that I'll be accessing.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi Everyone , have a nice day
#!/bin/sh
( sleep 1
echo "LOGIN:username:password;"
sleep 1
while IFS= read -r line
do
#echo $line
GET:VOUCHERDETAIL:VoucherSerialNumber,$line; >> /home/status_log
done < /home/status.txt
sleep 1
echo "LOGOUT;") | telnet 127.0.0.1 7021
,
it... (2 Replies)
Discussion started by: Dastard
2 Replies
2. Shell Programming and Scripting
Hi
having the below code
(sleep 1 echo "username"
sleep 2 echo "password"
sleep 2 echo "cd /home/test1/path"
sleep 10 echo "ls -l | grep filename"
if exists
echo "script1.sh filename"
echo "mailx -s "Task Executed" user@domain.com"
else
echo "mailx -s "File not Exist"... (1 Reply)
Discussion started by: karthikn7974
1 Replies
3. UNIX for Dummies Questions & Answers
I am attempting to write a shell script that runs a program which generates data and then runs another program to plot the data. The problem is that I need the plotting to take place in a different terminal window that stays open after the plotting has finished. I have experimented 'xterm -e '... (1 Reply)
Discussion started by: chris2051
1 Replies
4. Shell Programming and Scripting
I want to log into a remote server transfer over a new config and then backup the existing config, replace with the new config.
I am not sure if I can do this with BASH scripting.
I have set up password less login by adding my public key to authorized_keys file, it works.
I am a little... (1 Reply)
Discussion started by: bash_in_my_head
1 Replies
5. UNIX for Dummies Questions & Answers
hi,
I need help in redirecting the commands to a new xterm. I have a executable, say my_script and another file called command.list that has several commands.
my_script contents
pwd
xterm -e command.list
I am expecting, all the commands in command.list needs to be executed in the new... (3 Replies)
Discussion started by: sujith
3 Replies
6. UNIX for Dummies Questions & Answers
Hello for all!
This is the situation:
I must create many users that only can execute telnet and ping.
Create users is not a problem, but I donīt know how limit the users privileges, to only execute telnet and ping.
I hope you can help me.
Thank's for all.
Bye :)
PD: Sorry for my... (4 Replies)
Discussion started by: bobbasystem
4 Replies
7. Shell Programming and Scripting
I am trying to write a shell script to execute some commands..
telnet <IP address of the router>
wait 10
echo "username"
echo "password"
sh log
exit
but i am unable to execute it properly ..please help me ..
thanks in advance
Sri (1 Reply)
Discussion started by: srikanthus2002
1 Replies
8. Shell Programming and Scripting
I have list of commands in a file in one sever and i need to execute these set of commands in the server to which i m telnetting to .. (4 Replies)
Discussion started by: nikhil jain
4 Replies
9. Shell Programming and Scripting
Hi,
my query is:
I am Login on server with IP xxx.xxx.xxx.xxx.. and i want a script where
i want to telnet to server with IP yyy.yyy.yyy.yyy using specific port and then execute a cmd there on server Y
please suggest (1 Reply)
Discussion started by: dodasajan
1 Replies
10. Shell Programming and Scripting
Error:
Type xterm -help for a full description.
xterm: Explicit shell already was /root/Desktop/telnet.sh
xterm: bad command line option "Done!"
usage: xterm (0 Replies)
Discussion started by: sk151993
0 Replies
ccr(8) System Manager's Manual ccr(8)
Name
ccr - remote console carrier requester
Syntax
ccr [ options ] node
Description
The command establishes a logical connection between your ULTRIX system and the console carrier server on a remote system. enables your
terminal to act as the console for a remote unattended system. For example, your terminal can act as the console for a Digital Ethernet
Communications Server (DECSA) and its resident software. The node is the name or address of the target node. A node name consists of from
one to six alphanumeric characters. A node address consist of two decimal integers (n.n), where the first indicates the network number
(1-63), and the second indicates the node address (1-1023).
You can use to force a crash if a server node becomes unresponsive. To determine how to force a crash, see the documentation for the
respective server product.
The requirements for using are as follows:
o The host node (that is, your local ULTRIX node) and the remote node must be on the same Ethernet.
o If your server product is a DECSA, the console carrier server image (plutocc.sys) and its loader file (plutowl.sys) must be located in
on your ULTRIX node. The pluocc.sys and plutowl.sys files are not need, nor is any loading done for other servers. For more details,
see the installation guide for the particular server product.
<CTRL/D> exits from console carrier mode and terminates
Options
-c Uses the specified circuit to connect to the target node.
-h Uses the specified address (next argument) as the Ethernet address of the target node.
-n Uses the next argument as the target node ID.
-p Uses the specified service password (next arguments) in accessing the target node.
Examples
# /etc/ccr -c qna-0 -n dallas <RET>
ccr: Remote console reserved
.
.
.
<CTRL/D>
ccr: Remote console released
#
Restrictions
You must have superuser privileges to run
Diagnostics
The command can return the following diagnostic messages:
ccr: Remote console reserved
The command has successfully connected to the remote console server and your terminal is now capable of acting as a console for the remote
node.
ccr: Remote console released
Your connection with the remote console server has been terminated and you are no longer in console carrier mode.
ccr: Remote console already in use
The remote console server that you are attempting to connect to is already reserved by another user.
ccr: Permission denied
You do not have the necessary privileges to run (You must be a superuser.)
ccr: Hardware address required
The command is unable to locate the hardware address of the remote node to which you are attempting to connect. A remote node's hardware
address must be defined either in the command line, or in its nodes database entry. (Nodes database entries are defined with the command.)
ccr: No node entry in database
The command does not recognize the remote node to which you are attempting to connect, since the node-id that you specified is not defined
in the nodes database. (Nodes database entries are defined with the command.)
Files
Console carrier server image
Console carrier server loader
See Also
addnode(8), getnode(8), load(8), remnode(8), trigger(8)
Guide to Local Transport Servers
ccr(8)