Sponsored Content
Full Discussion: ssh config file
Top Forums Shell Programming and Scripting ssh config file Post 302432320 by vasuarjula on Thursday 24th of June 2010 05:38:47 PM
Old 06-24-2010
ssh config file

Hello all

I have question regarding the id_dsa keys and authorized_keys file in .ssh directory.
I know if we try to SFTP, id_dsa.pub file on server1 will be verified with contents of authorized_keys on other server and SFTP will happen once verification passes.

No i want to use id_dsa1.pub and copy these contents to authorized_keys1.
When i run th SFTP id_dsa1.pub need to beused for verificatio instead of id_dsa.pub I beleive we can do this by modifiying the config file.

Where can i find the config file. How can i modify it so that SFTP uses the file which i specify in config file.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

SSh install and config

Hi all........... I work for a big french car manufacturer. I'm supposed to put up a secure protocol, that means ssh. I'm looking for free ssh codes and binaries, and the install and config of it... Any help would be great... :confused: :confused: :confused: Thanx Jason (3 Replies)
Discussion started by: a_new_admin
3 Replies

2. UNIX for Advanced & Expert Users

SSH and config.....

Hi all! I'm new to the SSh concept, and i'm supposed to install SSH over 400 servers. I found out how to generate all the keys and the passphrases ( you'll say that ain't that hard!). But now, i just can't get the thing to start. I started sshd on both of my test servers, and on one of 'em, i... (1 Reply)
Discussion started by: penguin-friend
1 Replies

3. UNIX for Advanced & Expert Users

Editing MySQL config through ssh ?

I need a smal "how to" regarding editing mysql configuration on a unix server. Thanks in advance. (2 Replies)
Discussion started by: Denis.R
2 Replies

4. Solaris

network config problem - how to set the server for others to ssh without password

Hi, I want to ssh the linux server without inputting the password, how can I config this server? Thanks in advance! (1 Reply)
Discussion started by: GCTEII
1 Replies

5. UNIX for Dummies Questions & Answers

Pls help me urgently.... Regarding Putty SSH Config.

I have downloaded the Putty SSH configuration. I have entered my Host name as illinois.engr.sjsu.edu and i am trying to save that. But i am unable to save. Also i opened the session and entered my log in name But it says using keyboard interactive authentication.I am not able to get into $ ... (1 Reply)
Discussion started by: VamsiVasili
1 Replies

6. Shell Programming and Scripting

parsing config file to create new config files

Hi, I want to use a config file as the base file and parse over the values of country and city parameters in the config file and generate separate config files as explained below. I will be using the config file as mentioned below: (config.txt) country:a,b city:1,2 type:b1... (1 Reply)
Discussion started by: clazzic
1 Replies

7. Shell Programming and Scripting

Shell script that will compare two config files and produce 2 outputs 1)actual config file 2)report

Hi I am new to shell scripting. There is a requirement to write a shell script to meet follwing needs.Prompt reply shall be highly appreciated. script that will compare two config files and produce 2 outputs - actual config file and a report indicating changes made. OS :Susi linux ver 10.3. ... (4 Replies)
Discussion started by: muraliinfy04
4 Replies

8. Solaris

Can't login using ssh after IPMP config.

Dear All, After configuring IPMP in 2 fresh Servers (T5520 and T2000) I can't login in any of them using SSH, I can login by serial console then I had to enable Telnet to access. IPMP works fine. This is the error in /var/adm/messages: sshd: Failed password for lvalle from 172.28.12.95 port... (0 Replies)
Discussion started by: Luis Valle
0 Replies

9. Shell Programming and Scripting

Ssh config file different location

I'm trying use 'sed' to change a line on sshd_config file. But the problem is sshd_config file can be two different locations.(eg: /etc/ssh/sshd_config or /usr/local/ssh/sshd_config) Was wondering how to write a shell script to search or mention the sshd_config location? (3 Replies)
Discussion started by: pjeedu2247
3 Replies

10. Red Hat

Apache virtual host config vs global config problem

Hi folks, I am trying to configure Apache webserver and also a virtual host inside this webserver. For Global server config: /var/www/html/index.html For virtual host config: /var/www/virtual/index.html Both client10 & www10 are pointing to 192.168.122.10 IP address. BUT, MY... (1 Reply)
Discussion started by: freebird8z
1 Replies
libssh2_sftp_init(3)						  libssh2 manual					      libssh2_sftp_init(3)

NAME
libssh2_sftp_init - open SFTP channel for the given SSH session. SYNOPSIS
#include <libssh2.h> #include <libssh2_sftp.h> LIBSSH2_SFTP * libssh2_sftp_init(LIBSSH2_SESSION *session); DESCRIPTION
session - Session instance as returned by libssh2_session_init_ex(3) Open a channel and initialize the SFTP subsystem. Although the SFTP subsystem operates over the same type of channel as those exported by the Channel API, the protocol itself implements its own unique binary packet protocol which must be managed with the libssh2_sftp_*() fam- ily of functions. When an SFTP session is complete, it must be destroyed using the libssh2_sftp_shutdown(3) function. RETURN VALUE
A pointer to the newly allocated SFTP instance or NULL on failure. ERRORS
LIBSSH2_ERROR_ALLOC - An internal memory allocation call failed. LIBSSH2_ERROR_SOCKET_SEND - Unable to send data on socket. LIBSSH2_ERROR_SOCKET_TIMEOUT - LIBSSH2_ERROR_SFTP_PROTOCOL - An invalid SFTP protocol response was received on the socket, or an SFTP operation caused an errorcode to be returned by the server. LIBSSH2_ERROR_EAGAIN - Marked for non-blocking I/O but the call would block. SEE ALSO
libssh2_sftp_shutdown(3) libssh2_sftp_open_ex(3) libssh2 0.15 1 Jun 2007 libssh2_sftp_init(3)
All times are GMT -4. The time now is 01:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy