LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-04-2008, 10:01 PM   #1
dream.impres
LQ Newbie
 
Registered: Aug 2008
Posts: 7

Rep: Reputation: 0
OpenSSH


Hi, everyone. I am really a newbie on Linux-Ubuntu.
I am currently installing OpenSSH on my LINUX using the command line:
sudo apt-get install openssh-client
I also manage to view the configuration file here:
man sshd_config
the version of OpenSSH i get from here: https://help.ubuntu.com/7.10/server/...sh-server.html

root@xxxx-laptop:~# ./sshd --help give me this:
-bash: ./sshd: No such file or directory
and
root@xxxx-laptop:~# ./sshd start also come out with the same problem. Anyone can help? thanks
 
Old 08-04-2008, 10:40 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
By prefixing those commands with "./", you are telling the system to try and run a program that is in the current directory; which they aren't.
 
Old 08-04-2008, 10:44 PM   #3
ne pas
Member
 
Registered: Jul 2008
Posts: 55

Rep: Reputation: 23
You should reread the "Installation" section of your provided link.
 
Old 08-04-2008, 11:21 PM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
installed from a package in that manner it should 'just work' you really don't need to mess with the configuration unless you are planning on doing something special with it.

/etc/init.d/sshd start
should start the ssh server, if it didn't start automatically when you installed it.

you also stated you installed the client, but then you are looking at the server (sshd) configuration file sshd_config, so what exactly is it that you want to do ?

for help you would use the man command in Linux

man ssh - Client
man sshd - Server
man sshd_config Server Config File

to connect to a Linux machine from a windows box via ssh you can use Putty
or for a GUI to copy files back and forth winscp works very nice

Basic Linux usage
ssh ip.add.re.ss
or
ssh host.targetpc.com


hope that helps

Last edited by farslayer; 08-04-2008 at 11:31 PM.
 
Old 08-04-2008, 11:23 PM   #5
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I didn't read the whole thread, but you say you installed openssh-client and are trying to find files related to sshd? sshd is part of openssh-server, not openssh-client.

Edit - good timing billy
 
Old 08-05-2008, 02:31 AM   #6
dream.impres
LQ Newbie
 
Registered: Aug 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by farslayer View Post
installed from a package in that manner it should 'just work' you really don't need to mess with the configuration unless you are planning on doing something special with it.

/etc/init.d/sshd start
should start the ssh server, if it didn't start automatically when you installed it.

you also stated you installed the client, but then you are looking at the server (sshd) configuration file sshd_config, so what exactly is it that you want to do ?

for help you would use the man command in Linux

man ssh - Client
man sshd - Server
man sshd_config Server Config File

to connect to a Linux machine from a windows box via ssh you can use Putty
or for a GUI to copy files back and forth winscp works very nice

Basic Linux usage
ssh ip.add.re.ss
or
ssh host.targetpc.com


hope that helps
thanks for your lengthly explanations. Thanks other as well. I will try it.If i face any problem please provide some guidance ya. thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
openssh bong.mau Linux - Software 2 11-09-2005 01:04 PM
X by openSSH Grimmy Linux - Security 2 03-16-2003 09:43 AM
OpenSSH gregoryfrancis Linux - General 4 03-02-2003 02:09 PM
openSSH Niphargus Linux - Security 4 08-06-2002 09:46 PM
OpenSSH Tarantismic Yak Linux - Security 2 07-14-2001 05:26 AM


All times are GMT -5. The time now is 08:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration