10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi All
I need to run a query on a remote database through a shell script. I have the query, I have the script ready. I have the details of the database server I need to connect to.
Now my problem here is , the server where I run the shell script is an FTP server.
->I do not have Oracle... (4 Replies)
Discussion started by: sparks
4 Replies
2. Shell Programming and Scripting
Hi All,
We have done new FTB setup.
I am not able to to connect to this new target server.
Here is the new setup to send files to the FTB :
- Login : FTB-TAN-DEV-SAP
- Protocol : SFTP
- Port : 54322
- Hostname : ftb-dev.apj.hp
- Env : DEV
- Target ID : 3225
I tried connecting to the... (5 Replies)
Discussion started by: ROCK_PLSQL
5 Replies
3. UNIX for Advanced & Expert Users
How to generate public key to connect from one ftp server to other server to use in scripting. (1 Reply)
Discussion started by: sridhardwh
1 Replies
4. UNIX for Advanced & Expert Users
Hi,
I have two unix servers A and B. from A i am trying to use the ftp command to connect to B but I am getting the "ftp: connect: A remote host refused an attempted connect operation."
I checked the following things :
1.) Unix Server details for A and B after running the command uname -a... (3 Replies)
Discussion started by: mick_000
3 Replies
5. Shell Programming and Scripting
Hello,
I tried searching through lot of threads for a solution but couldn't fetch the exact solution, so I am creating a new thread.
I am trying to connect to a FTP server
1) using a simple FTP command, it gives the error :
534 Policy requires SSL.
Login failed.
2) using SFTP... (19 Replies)
Discussion started by: amitshete
19 Replies
6. AIX
Hi,
A VMS server want to use SFTP to transfer files to our Unix server. We received their public key. Below is the process we followed to install this public key in our unix server.
1. Go to $HOME/.ssh
2. cat public_key_vms_server >> authorized_keys2
3. Ensure this folder and file has the... (1 Reply)
Discussion started by: devina
1 Replies
7. Solaris
Hi, I've used the following way to set ssh public key authentication and it is working fine on Solaris 10, RedHat Linux and SuSE Linux servers without any problem. But I got error 'Server refused our key' on Solaris 8 system. Solaris 8 uses SSH2 too. Why? Please help. Thanks.
... (1 Reply)
Discussion started by: aixlover
1 Replies
8. UNIX for Advanced & Expert Users
I am writing a script that needs to access various servers some of which are not ssh enabled. In order to access the ssh enabled servers I am using the following command to generate the public key :
ssh-keygen -t rsa
Is there a similar command for the other servers as well.
If I try to use... (1 Reply)
Discussion started by: ravneet123
1 Replies
9. Shell Programming and Scripting
I am writing a script that needs to access various servers some of which are not ssh enabled. In order to access the ssh enabled servers I am using the following command to generate the public key :
ssh-keygen -t rsa
Is there a similar command for the other servers as well.
If I try to use... (1 Reply)
Discussion started by: ravneet123
1 Replies
10. Shell Programming and Scripting
I have the following ftp script to get files from a remote location.
However, on running the script I find that I am not even able to connect to ftp server.
I am able to connect to ftp server using other GUI ftp tools like WS_FTP using the same IP.
IP used here is a dummy IP.
What can go... (3 Replies)
Discussion started by: gram77
3 Replies
SSH2_PUBLICKEY_INIT(3) 1 SSH2_PUBLICKEY_INIT(3)
ssh2_publickey_init - Initialize Publickey subsystem
SYNOPSIS
resource ssh2_publickey_init (resource $session)
DESCRIPTION
Request the Publickey subsystem from an already connected SSH2 server.
The publickey subsystem allows an already connected and authenticated client to manage the list of authorized public keys stored on the
target server in an implementation agnostic manner. If the remote server does not support the publickey subsystem, the ssh2_pub-
lickey_init(3) function will return FALSE.
PARAMETERS
o $session
-
RETURN VALUES
Returns an SSH2 Publickey Subsystem resource for use with all other ssh2_publickey_*() methods or FALSE on failure.
NOTES
Note
The public key subsystem is used for managing public keys on a server to which the client is already authenticated. To authenticate
to a remote system using public key authentication, use the ssh2_auth_pubkey_file(3) function instead.
SEE ALSO
ssh2_publickey_add(3), ssh2_publickey_remove(3), ssh2_publickey_list(3).
PHP Documentation Group SSH2_PUBLICKEY_INIT(3)