bsits001z$ ssh readonly@12.16.24.25 'exec bash' '/opt/tibco/logs/bw/EAI_Automation/test_automation.sh 447830748554'
Could not create directory '/home/readonly/.ssh'.
The authenticity of host '12.16.24.25 (12.16.24.25)' can't be established.
RSA key fingerprint is 4e:1d:f4:05:bb:d0:28:97:c3:1e:c9:32:0d:b9:1f:28.
Are you sure you want to continue connecting (yes/no)? yes
Failed to add the host to the list of known hosts (/home/readonly/.ssh/known_hosts).
Password:
Could not chdir to home directory /home/readonly: No such file or directory
bash: /opt/tibco/logs/bw/EAI_Automation/test_automation.sh: No such file or directory
bsits001z$
bsits001z$ ssh readonly@12.16.24.25 'exec bash' < /opt/tibco/logs/bw/EAI_Automation/test_automation.sh 447830748554
Could not create directory '/home/readonly/.ssh'.
The authenticity of host '12.16.24.25 (12.16.24.25)' can't be established.
RSA key fingerprint is 4e:1d:f4:05:bb:d0:28:97:c3:1e:c9:32:0d:b9:1f:28.
Are you sure you want to continue connecting (yes/no)? yes
Failed to add the host to the list of known hosts (/home/readonly/.ssh/known_hosts).
Password:
Could not chdir to home directory /home/readonly: No such file or directory
bash: 447830748554: No such file or directory
I need to execute a script from dev server which is located on Test server.I can use ftp to connect to dev server and from there how can i execute a command on test server.
Thanks (5 Replies)
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)
hi all,
how to execute shell script in another server that contain sql script. i tried using "ssh -l" option.. but i am unable to load the environment variable of the remote host.
please suggest how execute the shell script contain sql part inside it. (2 Replies)
ssh -q <hostname> /opt/tcs/satish/tst.ksh
ssh -q <anotherserver> /opt/tcs/satish/tst.ksh
tst.ksh has "nohup <command> & "
when i execute below script , its throwing error as
nohup can not be found
ssh -q <anotherserver> /opt/tcs/satish/tst.ksh > log &
can someone let me... (5 Replies)
Hi,
I want to execute shell script with in sftp session for remote server.
like i have a shell script test.sh that is on local server.i want to execute that script on remote server
sftp user@192.168.56.10
sftp> test.sh ---execute for remote server not for local server.
sftp... (3 Replies)
Hi ,
Is there any script to copy a files (weblogic bianary + silent.xml ) from one server (linux) to another servers and then execute the copy file.
We want to copy a file on multiple servers and run the installation.
Thanks (1 Reply)
hi,
i have a shellscipt that is in another server, my question is how do i run the script from a different server.
EXAMPLE:
SCRIPT_NAME: sample.sh
SERVER: A
what i wanted to achieve is to call that script from server B. Tried using ssh
ssh <username>@serverB /home/sample.sh
but... (5 Replies)
Hi team,
My requirement is to transfer pdf files from windows machine to unix server and then from that unix server we should sftp to another server.
I have completed the first part i.e From windows to using to unix server with the help of psftp.exe
code:
psftp user@host -pw password <... (1 Reply)
Hi All,
We have shell scripts in UNIX ( Sun OS ) server.
Also in my windows machine i have Cygwin installed.
Now is there a way to execute Shell script available in UNIX server from Cygwin? (4 Replies)
How to execute setDomainEnv.sh in wblogic via ssh on remote server in shell script
we execute setDomainEnv.sh manually as . ./setDomainEnv.sh from its location ie /opt/SP/users/domian/bin"
My approach is not working.
Please advise.
#!/bin/bash
set -x
base="/opt/SP/users/d1/bin"... (5 Replies)
Discussion started by: abhaydas
5 Replies
LEARN ABOUT CENTOS
k5login
K5LOGIN(5) MIT Kerberos K5LOGIN(5)NAME
k5login - Kerberos V5 acl file for host access
DESCRIPTION
The .k5login file, which resides in a user's home directory, contains a list of the Kerberos principals. Anyone with valid tickets for a
principal in the file is allowed host access with the UID of the user in whose home directory the file resides. One common use is to place
a .k5login file in root's home directory, thereby granting system administrators remote root access to the host via Kerberos.
EXAMPLES
Suppose the user alice had a .k5login file in her home directory containing the following line:
bob@FOOBAR.ORG
This would allow bob to use Kerberos network applications, such as ssh(1), to access alice's account, using bob's Kerberos tickets.
Let us further suppose that alice is a system administrator. Alice and the other system administrators would have their principals in
root's .k5login file on each host:
alice@BLEEP.COM
joeadmin/root@BLEEP.COM
This would allow either system administrator to log in to these hosts using their Kerberos tickets instead of having to type the root pass-
word. Note that because bob retains the Kerberos tickets for his own principal, bob@FOOBAR.ORG, he would not have any of the privileges
that require alice's tickets, such as root access to any of the site's hosts, or the ability to change alice's password.
SEE ALSO kerberos(1)AUTHOR
MIT
COPYRIGHT
1985-2013, MIT
1.11.3K5LOGIN(5)