01-02-2013
Ssh connection
hi,
I have ssh connection between two servers for a functional Id for SFTP purpose.
I aim is to setup this for is only work when below command is used by a .ksh script.
ssh userid@servername:/directory
Unfortunately users who have access to functional id are manually using above command and start moving files between these two servers. I want to restrict this manual login and activate only for scripts that contains above command.
Please advise
Thanks.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
pls how do i connect to my freebsd server via ssh from a windows client?? I have sshd running on d freebsd server. (9 Replies)
Discussion started by: lealyz
9 Replies
2. UNIX for Dummies Questions & Answers
Hi @ all!
I've a problem with a ssh-connection.
I want to establish a ssh-connection between an AIX-System and an SunOS-System without a password.
The Users are different one's.
Command :
user1@server1 /home/user1 > ssh user2@server2
Is it possible?
Greetings olli-h (1 Reply)
Discussion started by: olli-h
1 Replies
3. Solaris
When i was connecting the Solaris system by sftp . i got the following error.
"Warning: child process (/usr/local/bin/ssh2) exited with code 74."
Could any one help, how to fix it ? (1 Reply)
Discussion started by: nag.mi2000
1 Replies
4. Shell Programming and Scripting
My problem is this....:eek:
Platform=Sun Solaris UNIX / Oracle 10g
1) I'm trying to SSH from my local system A to remote system B
2) Once connected, I need to sudo to ID that has the ability to connect to the Oracle database
3) Then run a script that connects via sqlplus and... (2 Replies)
Discussion started by: khand67
2 Replies
5. AIX
Hi i am trying to do ssh without password between 2 aix servers.
before i generate the keys, i am able to do the ssh & it is asking for password & i am able to login.
========================
# ssh 172.29.150.77
root@172.29.150.77's password:
========================
but when i generate rsa... (1 Reply)
Discussion started by: makarand.bhatka
1 Replies
6. UNIX for Advanced & Expert Users
Hi everybody,
I am running a program on a supercomputer via my personal computer through a ssh connection. My program take more than a day to run, so when I left work with my PC I stop the connection with the supercomputer and the program stop.
I am wondering if someone know how I can manage... (2 Replies)
Discussion started by: TomTomGre
2 Replies
7. UNIX for Advanced & Expert Users
Hi!
I know its a recurring problem, but I am failing to sort this out, I have two servers ( A and B), in which I am able to connect without having to put password from server B to server A, but the connect from server A to server B.
takes 7 minutes to establish???
on Server A, I have the... (7 Replies)
Discussion started by: fretagi
7 Replies
8. BSD
Hello guys!
I am setting up a script to access a unix remote server. My problem is that when I put the ssh line "my host", the script does not wait for the server response asking for the password to execute the line in which I put the password, that is, I need to put a form in which script has a... (1 Reply)
Discussion started by: aroucasp
1 Replies
9. UNIX for Beginners Questions & Answers
Hi,
I want to validate ssh connection one after one for multiple servers..... password less keys already setup but now i want to validate if ssh is working fine or not...
I have .sh script like below and i have servers.txt contains all the list of servers
#/bin/bash
for host in $(cat... (3 Replies)
Discussion started by: sreeram4
3 Replies
LEARN ABOUT DEBIAN
dnetcat
dnetcat(1) User Commands dnetcat(1)
NAME
dnetcat - opens a DECnet connection
SYNOPSIS
dnetcat {-h|--help}
dnetcat [-v] [-z] node[::|[::] ]object
dnetcat [-v] [-f] -l object
DESCRIPTION
dnetcat is a netcat(1) like tool that opens a DECnet connection and copies all data between the standard input/output to/from the socket.
OPTIONS
-v
Be verbose. Prints useful (debug) messages.
-z
Zero IO mode. In this mode a connection is dropped directly after it is opened. This can be used to scan if the remote side listens on the
given address and object.
-l
Listen mode. In this mode dnetcat accepts connections on the given object.
-f
Fork on new connection. This let netcat accept multiple connections in listen mode. This is ignored if -l is not given.
--help, -h
Prints a small help.
EXAMPLES
This program can be used as 'ProxyCommand' for ssh(1). You may use it via command line like this:
ssh -o 'ProxyCommand dnetcat %h ssh' [...] mynode
or you may use it in your ~/.ssh/config like this:
Host *::
ProxyCommand dnetcat %h ssh
This will enable you to connect to any DECnet node by adding "::" at the end of the node name like this:
ssh mynode::
For more information on ssh(1) see it's manpage.
SEE ALSO
ssh(1), netcat(1).
AUTHORS
This program is written by Philipp "ph3-der-loewe" Schafft <lion@lion.leolix.org>.
dntools September 2008 dnetcat(1)