[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

How to install secure shell...???

Posted on 2000-03-19
2
Medium Priority
?
276 Views
Last Modified: 2010-04-20
I would like to install this thing called ssh (why? because people listen to my telnet traffic) on my redhat linux version 6.0 (cobalt raq) I very bad at linux so how do I install, please include the commands required as I havn't got a clue. basicly it is to administer a remote server (linux) with a windows machine, and it should be secure so what the best way to do it.

Thanks.
0
Comment
Question by:BRAUN
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
dserna earned 132 total points
ID: 2633658
Okay here goes,

1. Download the ssh source code from here:

ftp://ftp.ssh.com/pub/ssh/

2. Once you have downloaded the source, gunzip it and untar it:

: dserna@ns:/extra: gunzip ssh-1.2.27.tar.gz  
: dserna@ns:/extra: tar xvf ssh-1.2.27.tar  
x ssh-1.2.27, 0 bytes, 0 tape blocks
x ssh-1.2.27/COPYING, 16879 bytes, 33 tape blocks
x ssh-1.2.27/README, 22132 bytes, 44 tape blocks
<snip>

3. Then cd into the ssh-1.2.27 directory and execute a script called "configure: which will check what type of system you have, etc.:

: dserna@ns:/extra/ssh-1.2.27: ./configure
creating cache ./config.cache
<snip>

4. Once that is done, then run "make" in the same directory. This will compile ssh:

: dserna@ns:/extra/ssh-1.2.27: make
gcc -pipe -c -I.  -I./gmp-2.0.2-ssh-2 -I./zlib-1.0.4 -DHAVE_CONFIG_H  -DHOST_KEY_FILE=\"/etc/ssh_host_key\" -DHOST_CONFIG_FILE=\"/etc/ssh_config\" -DSERVER_CONFIG_FILE=\"/etc/sshd_config\" -DSSH_PROGRAM=\"/usr/local/bin/ssh1\" -DETCDIR=\"/etc\" -DPIDDIR=\"/etc\" -DSSH_BINDIR=\"/usr/local/bin\" -DTIS_MAP_FILE=\"/etc/sshd_tis.map\" -g -O2 -I/usr/openwin/include ssh.c

5. Now su to root and run "make install" in the ssh directory:

: dserna@ns:/extra/ssh-1.2.27: su
Password:
: root@ns:/extra/ssh-1.2.27: make install

6.This will install the now compiled binaries. Once that is done,  a script will run which will create the host key. Just follow the instructions. Once that finishes, you should just run the sshd daemon:

: root@ns:/extra/ssh-1.2.27: /usr/local/sbin/sshd
: root@ns:/extra/ssh-1.2.27:
: root@ns:/extra/ssh-1.2.27: ps -aef | grep sshd
    root  7940     1 15 10:19:07 ?        0:03 /usr/local/sbin/sshd

You should now be able to ssh into your machine.

Hope that helps. :)




0
 

Expert Comment

by:maixp
ID: 5561702
How great to see this clear answer! My situation is quite same with BRAUN. But now I can get a 2.3.0. Is it same? How about the windows part? I heard that it can use Putty.exe as the SSH client. Is it right? Thanks!
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question