11-20-2019
scp auto logon to remote using remote authorized_keys
Hi~
i have an authorized key which it made remote host(B).
i want log on without password from local(A) to the remote host(B) using authorized key of remote host.
what shell i do? anybody help me.
10 More Discussions You Might Find Interesting
1. Solaris
1. scp person1@10.10.10.1:file1 person2@10.10.10.2:file1
2. scp file1 person1@10.10.10.1:file1
For #1, I keep getting this error:
Password:
Host key verification failed.
lost connection
I have entered the correct password too!
#2 works fine. I suppose I cannot copy a file between two... (6 Replies)
Discussion started by: kungpow
6 Replies
2. UNIX for Advanced & Expert Users
Hi,
When i run the code in solaris unix machine, the file from remote server is getting downloaded. but when i use the same code in IBM AIX remote machine, it is not running. It is saying "Erro during scp transfer." Below is the code.
Please give some resolution.
SCPClient client = new... (1 Reply)
Discussion started by: gravi2020
1 Replies
3. Solaris
Hi Admins,
I want to scp some files from remote sub directories.So i used below scripts to accomplish the same.
find `ssh testsftp@10.60.5.120/QSYS.LIB/EDWVPINTER.LIB` -name *.MBR -exec scp {} . \;
It fails.
I can not place copying script in remote server for various reasons.
... (1 Reply)
Discussion started by: newaix
1 Replies
4. Shell Programming and Scripting
I have the folorwing three shel accounts on remote servers which i would like to auto mount at boot, bu have the auto mount be preceded by a check for an active Ethernet or 802.11 connection prito running the sshfs command.
porter@tty.freeshelll.org
cent1750@tty.freeshell.org... (0 Replies)
Discussion started by: FloridaBSD
0 Replies
5. Shell Programming and Scripting
Hi Guys!!
I am trying to get around the complex situation, i have a task to complete, Like to setup the remote SSH key automatically by providing the root login details, ip and ssh port once to the script input and once its tested and accepted the next ssh should be password less,
script... (0 Replies)
Discussion started by: SilvesterJ
0 Replies
6. Shell Programming and Scripting
Hi.
I'm trying to speed up an rsync command by running it in parallel. There's no real option for this other than if the files are in multiple directories (which they're not). And even then there's no way of knowing if rsync has succeeded as the process is running in the background .. and... (4 Replies)
Discussion started by: Big_Jeffrey
4 Replies
7. Shell Programming and Scripting
hello,
i am trying to get a list of files to be scped from the remote server
by running the below in my local unix server ( note - there is a passwordless connectivity setup made between the local and remote server) and, we use KSH.
---
ssh $scp_host "find /a/b/c/*/ -iname "$remote_file"" >... (4 Replies)
Discussion started by: billpeter3010
4 Replies
8. Shell Programming and Scripting
I have multiple nodes and combine the files with the same name into one single file. Is there a way to scp or something else and combine them?
I tried this, but not working....
/usr/bin/scp /usr/local/system/scripts/myout.txt >> ahcaxdbmil1c:/usr/local/system/scripts/myout.txt
Please... (3 Replies)
Discussion started by: Daniel Gate
3 Replies
9. UNIX for Beginners Questions & Answers
Hello,
I would like to scp multiple files to a remote server that requires a password for the process to be completed.
I have 30 folders (x_1, x_2 ... x_30), each containing 25 files. What I want to do is scp 1 out of the 25 files (file called bvals) for all my folders to a remote server and... (3 Replies)
Discussion started by: nasia.m
3 Replies
10. Shell Programming and Scripting
I have a script on a Linux box which scp the files to windows server without any issues. but there are time frames where the windows server will not be available due to maintenance. hence I need to check if the remote location is available before running the scp command.
scp... (3 Replies)
Discussion started by: gpk_newbie
3 Replies
LEARN ABOUT DEBIAN
xrlogin
XRLOGIN(1) General Commands Manual XRLOGIN(1)
NAME
xrlogin - start an xterm that uses ssh (or optionally rlogin or telnet) to connect to a remote host
SYNOPSIS
xrlogin [-l username] [-rlogin|-telnet] [xterm options] remote-host
DESCRIPTION
Xrlogin opens an xterm window and runs ssh, rlogin or telnet to login to a remote host.
Xrlogin automatically passes the -name argument to xterm with a value of "xterm-hostname" where hostname is the name of the remote host.
This allows the user to specify resources in their server's resource manager which are specific to xterms from a given host. For example,
this feature can be used to make all xterm windows to a given remote host be the same color or use a specific font or start up in a spe-
cific place on the screen. Xrsh(1) passes the same string so they are compatible in this regard.
Xrlogin specifies that the default title for the new xterm will be "hostname" where hostname is the name of the remote host. This and the
-name argument above can be overridden with xterm-options on the command line.
One could also use xrlogin's sister command xrsh(1) to open a window to a remote host. In the case of xrsh, the xterm would run on the
remote host and use X as the connection protocol while xrlogin would run the xterm on the local host and use rlogin or telnet as the con-
nection protocol. See xrsh(1) for a discussion of the merits of each scheme.
OPTIONS
-l username
When not using -telnet, use username as the id to login to the remote host.
-rlogin
Use the rlogin protocol to open the connection. In general rlogin is preferred because it can be configured to not prompt the user
for a password. Rlogin also automatically propagates window size change signals (SIGWINCH) to the remote host so that applications
running there will learn of a new window size.
-telnet
Use the -telnet protocol to open the connection. Use of telnet provided mostly for hosts that don't support rlogin.
COMMON PROBLEMS
Make sure that the local host is specified in the .rhosts file on the remote host or in the remote hosts /etc/hosts.equiv file. See
rlogin(1) for more information.
EXAMPLES
xrlogin -bg red yoda
Start a local red xterm which connects to the remote host yoda using rlogin.
xrlogin -telnet c70
Open a local xterm which connects to the remote host c70 using telnet.
SEE ALSO
xrsh(1), rlogin(1), telnet(1)
AUTHOR
James J. Dempsey <jjd@jjd.com> and Stephen Gildea <gildea@intouchsys.com>.
X Version 11 Release 6 XRLOGIN(1)