LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   OpenSSH (https://www.linuxquestions.org/questions/linux-newbie-8/openssh-660487/)

dream.impres 08-04-2008 09:01 PM

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

MS3FGX 08-04-2008 09:40 PM

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.

ne pas 08-04-2008 09:44 PM

You should reread the "Installation" section of your provided link.

farslayer 08-04-2008 10:21 PM

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

billymayday 08-04-2008 10:23 PM

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

dream.impres 08-05-2008 01:31 AM

Quote:

Originally Posted by farslayer (Post 3236874)
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


All times are GMT -5. The time now is 12:58 AM.