The thing that we need to be able to do is:
- Scanning tapes from failed backup jobs with bscan (a bacula command)
- loading the next tape with the mtx command
Bscan does unload tapes but does not load them.
Bscan comes with this message when it's done with a tape:
Mount Volume... (0 Replies)
Hi,
I have got a shell script, which fails to run properly..
I am getting the following error:
"Pseudo-terminal will not be allocated because stdin is not a terminal.
Permission denied (gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive)."
I SSH to the machine and then run the... (1 Reply)
Hi,
I work on a jumpserver and I wrote a script to transfer a file from source server to destination server.
#!/bin/ksh
echo "\nEnter the file name:\n"
read name
echo "\nSelect the Source server\n"
echo "1. ODS PROD "
echo "2. ODS DROPBOX"
echo "3. ODS STE"
echo "4. ODS STE DROPBOX"... (6 Replies)
Hi,
I have a directory /home/datasets/ which contains a bunch (720) of subdirectories called hour_1/ hour_2/ etc..etc.. in each of these there is a single text file called (hour_1.txt in hour_1/ , hour_2.txt for hour_2/ etc..etc..) and i would like to do some text processing in them.
Each of... (20 Replies)
Hello,
I got an application on a linux server that I would like to access using https and a URL. I would like to create a ssh tunnel. But, let's say the app is on box C, but box C can only be accessed through box B, that can be accessed only through box A. I would like to create the ssh tunnel... (0 Replies)
I would like to execute a commands in four different servers through ssh at a single instance(simultaneously).
Below are the details with examples,
ssh user1@server1 "grep xxxx logs"
ssh user1@server2 "grep xxxx logs"
ssh user1@server3 "grep xxxx logs"
Each statement will take some... (4 Replies)
Hi
Am having file.ksh as below
wc -l file1.txt
wc -l file2.txt
wc -l file3.txt
wc -l file4.txt
i want all the commands in this file to execute in same time
please help
Thanks in advance (1 Reply)
Hi
I need to write a script to ssh through several hops (e.g. HostA-HostB-HostC-HostD), where Host A does not have direct assess to HostC ; HostB cannot access HostD directly.
when I ssh 3 hops and run command with arg1, arg2 and redirect the output to a file, e.g.
HostA> ssh -t HostB ssh -t... (3 Replies)
Hello,
I am trying to login to multiple servers and i have to run multiple loops to gather some details..Could you please help me out.
I am specifically facing issues while running for loops.
I have to run multiple for loops in else condition. but the below code is giving errors in for... (2 Replies)
Hi friends,
I am trying to scp a file from server A to Server C via Server B (which is jump host)
from Server A to Server B i have one pem key. from server B to server C I have different Pem key..
what I tried
scp -r -o ProxyCommand="ssh -W %h:%p ec2-user@1.4.5.5 dmu.sh... (7 Replies)
Discussion started by: onenessboy
7 Replies
LEARN ABOUT OSF1
telnetrc
telnetrc(4) Kernel Interfaces Manual telnetrc(4)NAME
telnetrc, .telnetrc - Specifies setup commands for a telnet session
SYNOPSIS
$HOME/.telnetrc
DESCRIPTION
The .telnetrc file contains the setup information for a telnet session. It is a hidden file in your home directory and must be readable by
the user logging in.
The file can consist of multiple entries for each remote host to which a user can connect. A remote host entry consists of multiple lines.
The first line is the name of a remote host. The subsequent lines must begin with blank spaces, and contain telnet subcommands. These sub-
commands are processed as though they were typed in manually. Lines beginning with a number sign (#) are comment lines. See telnet(1) for
a complete list of telnet subcommands.
To specify subcommands that apply to all systems, create an entry, using the word "DEFAULT" as the system name, and specify the telnet sub-
commands in the subsequent lines.
EXAMPLES
The following shows a sample .telnetrc file:
# Beginning of telnetrc file # Default subcommands that apply to all systems DEFAULT
environ undefine USER # First system entry system1
set echo
toggle crlf # Second system entry system2
set echo
mode line
toggle crlf
FILES
User-customized telnet startup values.
RELATED INFORMATION
Commands: telnet(1). delim off
telnetrc(4)