Sponsored Content
Full Discussion: ssh daemon question
Operating Systems Linux Red Hat ssh daemon question Post 302551950 by newb1000 on Thursday 1st of September 2011 06:59:40 AM
Old 09-01-2011
ssh daemon question

Hi,

I'm trying to connect from one server to another via ssh, the server that I'm connecting from only has openssh installed. The server that I'm connecting to has the following packages installed:
Code:
ssh-3.2.9.1-ML_RHEL4
openssh-3.9p1-8.RHEL4.12
openssh-clients-3.9p1-8.RHEL4.12
openssh-server-3.9p1-8.RHEL4.12

when I connect from server1 to server2 with -v, I see this:

Code:
debug1: Remote protocol version 2.0, remote software version 3.2.9.1 SSH Secure Shell (non-commercial)
debug1: no match: 3.2.9.1 SSH Secure Shell (non-commercial)
debug1: Enabling compatibility mode for protocol 2.0

I then checked on server2 and found that it's running the sshd2 daemon.

Now I have a few questions around this, firstly how and where is the sshd2 daemon started from, how can I check that this is the daemon thats started on bootup? I've checked in a few different folder locations and I seem to have both sshd and sshd2 folders in the same places.

The second thing is, I'd like agent forwarding to work but I'm not sure if this is compatible or not between these 2 versions of ssh, I've heard mixed answers.

Thirdly, if I wanted to run the openssh daemon, how can i manage this and would it clash with the sshd2 daemon already running.

Thanks for any help.

Moderator's Comments:
Mod Comment Please use code tags, thanks. Also refrain from double posting to increase chances of getting an answer. See PMs.

Last edited by zaxxon; 09-01-2011 at 08:24 AM.. Reason: code tags
 

7 More Discussions You Might Find Interesting

1. SCO

ssh daemon for unixware 7.1.1

Hi, would anyone know where I could get a ssh daemon for unixware 7.1.1. I have been running round in circles and have had no joy. regards Collie (0 Replies)
Discussion started by: collie
0 Replies

2. UNIX for Dummies Questions & Answers

ssh question

Dear all, I have a question regarding the remote access a server without login using "ssh". I'm thinking if there is anyway to send a certificate pass to ssh command. For example, I need write a script for a user who doesn't have access to any server but running this script. Within the... (1 Reply)
Discussion started by: ting123
1 Replies

3. UNIX for Dummies Questions & Answers

ssh question

hi all, I setup a new server using centos 5.0 with webmin installed and its working fine. the only problem i found is that I now cant ssh into the box anymore for some reason. I am able to ssh out of it no problem tho. I did check to see if ssh was running and it was. I did the following to... (12 Replies)
Discussion started by: mcraul
12 Replies

4. Cybersecurity

ssh question

I have a query on ssh. /home/user1/ # ssh remote_host When the fingerprint created and saved in /home/user1/.ssh/known_hosts file, is the fingerprint the public key of remote_host? (2 Replies)
Discussion started by: ij_2005
2 Replies

5. Shell Programming and Scripting

How to starting process as daemon using ssh command?

Hello, I need to run a command on remote Linux using the ssh command from my local machine. I am able to execute the command on remote machine using ssh but it's behaving strangely. The command is supposed to start a daemon process on remote linux box and the control should return back to me... (5 Replies)
Discussion started by: nitinshukla
5 Replies

6. BSD

Question: OpenBSD command line for checking list of library used by daemon

Hi All, I would like to ask what is the command line on OpenBSD which able to be used to check the list of library which used by specific daemon? For example, I would like to check what are the libraries which are used by ftpd. Thank you in advance. Regards, Stefan (2 Replies)
Discussion started by: lcxpics
2 Replies

7. Shell Programming and Scripting

Question about parameters in ssh

Hello where I can find or can anybody send me a full list with parameters of ssh. I hope to understand what I mean. For exam -xpvf (tar -xpvf file.tar.gz) -x -p -v -f what do any of these parameters I have command for extract tar.gz file but I want to do this without folder but I don't know what... (2 Replies)
Discussion started by: gladiator6
2 Replies
sftp-server(1M)                                           System Administration Commands                                           sftp-server(1M)

NAME
sftp-server - SFTP server subsystem SYNOPSIS
/usr/lib/ssh/sftp-server DESCRIPTION
sftp-server implements the server side of the SSH File Transfer Protocol as defined in the IETF draft-ietf-secsh-filexfer. sftp-server is a subsystem for sshd(1M) and must not be run directly. There are no options or config settings. To enable the sftp-server subsystem for sshd add the following to /etc/ssh/sshd_config: Subsystem sftp /usr/lib/ssh/sftp-server See sshd_config(4) for a description of the format and contents of that file. There is no relationship between the protocol used by sftp-server and the FTP protocol (RFC 959) provided by in.ftpd. EXIT STATUS
The following exit values are returned: 0 Successful completion. >0 An error occurred. FILES
/usr/lib/sftp-server ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWsshdu | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
sftp(1), ssh(1), ssh-add(1), ssh-keygen(1), sshd(1M), sshd_config(4), attributes(5) To view license terms, attribution, and copyright for OpenSSH, the default path is /var/sadm/pkg/SUNWsshdr/install/copyright. If the Solaris operating environment has been installed anywhere other than the default, modify the given path to access the file at the installed location. AUTHOR
Markus Friedl SunOS 5.10 30 Jul 2003 sftp-server(1M)
All times are GMT -4. The time now is 08:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy