Ubuntu :: OpenSSH Does Not Seem To Respond To Configuration

Jan 7, 2011

I just setup Ubuntu 10.04, and immediately installed OpenSSH using synaptic. I edited the /etc/ssh/sshd_config file e.g. no password authentication, non-standard port, etc. Using /etc/init.d/ssh restart I restarted the daemon, and everything worked perfectly. However, now it's almost like there is a lock on my service somehow. I edited the config file and added "PrintMotd no" and "Banner none". I killed all my active ssh sessions, restarted, and still saw the motd and the banner.

I then tried sudo /etc/init.d/ssh stop. The script reported ok, but netstat reported sshd as still listening on the port I had defined. I could still login. At this point, I don't know what else to do. I have tried looking at auth.log, I don't see anything funny there. I tried rebooting, and the config changes are (apparently) not loaded, I still see the motd upon ssh login. This is a totally clean system so I don't know what I am doing improperly.

View 7 Replies


ADVERTISEMENT

Debian Configuration :: OpenSSH Is Extremely Laggy?

Aug 27, 2010

I have an old computer a friend of mine found in a dumpster, and I've decided to use it as a file server. After finally getting it to connect to my wifi network, I tried connecting to it via OpenSSH on my main desktop. After I connected, I noticed OpenSSH was being very laggy. Whenever I type anything in there's a very noticable and annoying delay from when I type it to when it appears on screen. Now, a while ago a friend of mine was helping me fix my laptop when fglrx drivers broke x, and I set up openssh on there so he could access it. According to him, there was no lag (and he's half-way across the globe, whereas my file server is in the other room). The computer is an old Pentium 4 with one and a half gigs of RAM, two hard drives (one I use for the os/swapping and the other I use for /home). It's connected to wifi via a spare USB Linksys 802.11 bg adaptor I found lying around, and it's using the default drivers that come with Debian to connect.

View 3 Replies View Related

Debian Configuration :: PasswordAuthentication In Openssh And Freenx?

May 31, 2011

I have VNC working but I like how freenx starts in it's own session. It is handy for when my account is not logged into the server and VNC hasn't started.I have freenx working but it requires sshd_config to enable PasswordAuthentication. This isn't a major security problem at the moment since I have deny.hosts running but I still don't like it enabled. I would much rather only use the keys.

View 1 Replies View Related

Debian Configuration :: Openssh-server Fails To Restart During Update?

Feb 12, 2010

So this very (for me) important little package fails me once again. But this time it refuses to restart/start

This is the output:

Setting up openssh-server (1:5.3p1:-1)
Restarting OpenBSD Secure Shell Server: sshd: failed!
/dev/null is not a character device!
invoke-rc.d: initscript ssh, action "restart" failed.

[Code].....

The error is within the /etc/init.d/ssh script. ("error")

This is in squeeze so I can only blame my self, but.. This is one of the packages that fair and square should not fail to install/update/start/restart no mather what!

View 9 Replies View Related

Debian Configuration :: OpenSSH - Sshd Returns Login Prompt With Delay

Jul 11, 2011

On a Debian 5.0.8 I have a problem with OpenSSH server (sshd): when connecting to it from another host there is always a 10 seconds delay before sshd gives login prompt to the client. After the connection is established the communication goes on without any interruption. This long delay started to happen a few months ago and sshd_config was not changed at that time.

Here is a short description of the conversation between the putty client (on MS Windows) and sshd:
- putty client starts connection to sshd
- 10 s delay
- sshd returns "login as:"
- user types username in putty window
- sshd returns "password:"
- user types password in putty window
- sshd returns MotD and shell prompt

Here is a short description of the conversation between the OpenSSH client (on a Debian 6) and sshd:
- client does "ssh user@host.foo.bar"
- 10 s delay
- sshd returns "Password:"
- user types password
- sshd returns MotD and shell prompt

I tried connecting from:
- local host - NO DELAY
- a host on the same subnet - delay exists
- a host on another subnet - delay exists

I've found the following suggestions but to no avail (of course I restarted sshd after changing its configuration):
- on server put "UseDNS no" at the end of /etc/ssh/sshd_config
- in /etc/hosts on the server define mappings between IP addresses and host names for the ssh clients
- on client use "GSSAPIAuthentication no" in /etc/ssh/ssh_config

Here are some logs and configurations:

View 5 Replies View Related

Debian :: Openssh-server Auto Configuration Fails When Upgrading Lenny To Squeeze?

Sep 10, 2010

I'm in need of a bit of assistance from you Debian users. I have two servers that I thought were identical installations, both running Debian Lenny. Tonight I started the upgrade to Squeeze on both servers and one of them went smooth. The other one started out good but fails on the postconfiguration of openssh-server. I'm getting the following message:

Code:
Setting up openssh-server (1:5.5p1-4) ...
Auto configuration failed
2524:error:0E079065:configuration file routines:DEF_LOAD_BIO:missing equal sign:conf_def.c:366:line 67
invoke-rc.d: initscript ssh, action "restart" failed.

[Code].....

It looks like there's an error in one of the files in openssh-server that prohibits it from installing correctly. However on the other server it all went well.

View 3 Replies View Related

Ubuntu :: Know The Ins And Outs Of Openssh?

Jul 23, 2010

i need to know the ins and outs of openssh

View 2 Replies View Related

Ubuntu Installation :: How To Update Openssh 4.7 To 5.5

Jun 7, 2010

I use Ubuntu 8.04 Server It uses OPENSSH 4.7 version I want to upgrade from OPENSSH 4.7 to OPENSSH 5.5 [URL]..Other Ubuntu releases have updated package Can I use this one The Maverick Meerkat OpenSSH 5.5p1-4ubuntu1

View 1 Replies View Related

Ubuntu :: Remote Desktop And OpenSSH ?

Aug 22, 2010

Set up my mom with Ubuntu and want to be able to connect to her computer remotely to help her out when she has a question. I did some search and it seems that everyone recommends using openSSH. I used this link [url]

To install it on my mom's computer (changed the port to 16 instead of 22 and added those lines he suggested to the end of that file). Now what? I can't seem to find any instruction to connect the two computers. Looking around I also found:

1- Remote Desktop Viewer
2- Terminal Server Client

under applications/internet and

3- Remote Desktop under preferences

It looks like I can use those to connect also. But are they related to openSSH? Should I uninstall openSSH and use 1,2 or 3? Which is moe secure or are they the same.

View 5 Replies View Related

Ubuntu :: Trash Does Not Respond?

May 26, 2010

the Lucid Lynx - released in April 2010 I acedentally pull my scool folder into Trashï (i think the folder is 5 gb or omething.)i haven't empty my trash yet. But now i cant open trash, i press the Trash icon and then the window comes up, and then it does not respond?d to get in root but i cant get permissions. I have tried some ways in the terminal tget root permissions, i have password, but i still cant came inRoot

View 2 Replies View Related

Ubuntu :: Missing /etc/init.d/ssh After Compiling Openssh?

Jul 1, 2010

I had to compile openssh so I could have a version with the HPN-SSH patch applied. The compile seems to have gone fine, but oddly enough I have now have no ssh script in my /etc/init.d directory. So I have no easy way of automatically starting openssh-server.Here are the configure options I used when compiling openssh:

Code:
./configure --prefix=/usr --sysconfdir=/etc/ssh --with-pam

View 1 Replies View Related

Ubuntu :: Getting Openssh Server To Accept Connections In 10.04?

Jul 13, 2010

I'm having problems getting openssh server to accept connections in Ubuntu 10.04.Here's what I've done (twice): Installed Ubuntu 10.04 on USB drive with pendrive installer. This creates a default user "ubuntu" and you don't get the chance to choose a password for it. Started a keyring for network access and selected password. Works.Enabled VNC and selected password. Works fine with VNC client on local network. Logs in as "ubuntu" user and asks for the VNC password, then connects. Note: the client doesn't know the "ubuntu" user password, and neither do I! However, it works.Installed openssh client and server from Ubuntu s/w center.

$ ssh localhost OR $ ssh ubuntu@localhost try to connect, but asks for password, which I don't know (see step one, above) so, then I created a new user, with known password, logged in as new user in Ubuntu, works.however, $ ssh newuser@localhost still fails, even when correct password for <newuser> is supplied. Rejects the password three times, then gets the usual error about keys.I also tried connecting with an SSH terminal app from my iPad, again using <newuser>. It gets essentially the same error, "failure to authenticate".

All this is still on my own LAN, haven't gotten to going outside the router yet.What I want to do in the end is use VNC over SSH from a client on my iPad to talk securely to Ubuntu while I'm traveling.

View 9 Replies View Related

Ubuntu Security :: Check Openssh Md5 Checksum

Aug 10, 2010

I have Ubuntu 10.04 and I used my ssh to connect to a webserver. This is the version that I have installed.

Quote:

OpenSSH_5.3p1 Debian-3ubuntu4, OpenSSL 0.9.8k 25 Mar 2009

Apparently the server was hacked using my user and the server admin suggested the my ssh can be tainted.

do a checksum of the ssh, but I cannot find this file on my system.

Code:
md5sum /usr/sbin/sshd

And I will need a md5 hash from a good untainted version and I cannot find that as well on the openssh website.

View 7 Replies View Related

Ubuntu Servers :: Openssh Refusing Connections From Outside?

Sep 11, 2010

When ever I try to sftp or even ssh into my server I get connection refused.

I have the port forwarded in my router.

What am I missing?

Also I have installed Ngnix so what do I need to do for it to work?

View 5 Replies View Related

Ubuntu Installation :: Equivalent Apt-get For LAMP And OpenSSH

Oct 29, 2010

What was the equivalent apt-get command for installing LAMP and OpenSSH in Ubuntu 10.10?

View 1 Replies View Related

Ubuntu Security :: What's Default Encryption Used By OpenSSH?

Mar 7, 2011

I've read that blowfish encryption is much faster and still safe enough to transfer files between hosts.What's the default encryption used by openSSH? (if not already blowfish)

View 2 Replies View Related

Ubuntu :: Keyboard And Mouse Won't Respond

Aug 8, 2010

I'm having some weird problems with my mouse and keyboard. I'll be moving the mouse and keyboard about and all of a sudden the keyboard won't respond and the mouse moves and is fully working, but it seems to be a problem with the desktop, more then the mouse, because it'll highlight stuff and certain stuff will open when I click them, but when I go down to the toolbar, and try to click applications, places, and system, it'll highlight it but not respond when I click it. This happens about every 45 Minutes, to 1 hour of time with ubuntu running [10.04] [Additional details]

- I'm using an HP Pavilion Dv6000 Laptop, 64 Bit Ubuntu 10.04
- My drivers are all up to date
- Could it be because my Laptop gets really hot? But it dosen't happen ever when I'm running Windows, so I'm not so sure about that.

View 2 Replies View Related

Ubuntu :: Can't Get Apache To Respond To Outside Requests

Sep 6, 2010

I've been scouring the message boards and trying different things for two days and haven't found a solution. I set up Ubuntu 10.04.1 a few days ago using the server iso and selected the LAMP installation option. I will be using it as a sandbox to try out things from a PHP/MySQL book I purchased.

I have installed Gnome since sometimes I just can't get the command prompt to let me do things and Gnome may at least tell me why. I also installed PHPMyadmin.

My problem is that I can work with this thing all I want in any way I want - HTTP, SSH, SFTP, etc. - from within my home network but Apache refuses to respond to an outside request. Since it's only a test box it usually wouldn't be that big of a deal but I am going out of town for a couple of days and would really like to start working with my new book.

I am 99% sure my ISP is not blocking any ports. I have a ComTrend ADSL modem with router. I have given my Apache server a static IP on the NAT (xxx.xxx.x.101) and set up a dyndns address so I don't have to keep remembering the IP address.

Here is what I have tried so far: Setup a virtual server (port forwarding) on the router to to direct traffic on port 80 to internal IP .101The router told me its interface is using 80 so it would move itself to 8080 Made sure to also add port trigger for port 80 Made sure to save/reset the router Used my iPhone to connect via 3G - didn't work using IP or dyndns name Used iPhone to connect to 8080 and router responded

Set port forwarding/triggering for 8080 -> 80. No joy there, either Tried changing listening port to 8000Set port forwarding and triggering to allow port 8000 Changed ports.conf to read NameVirtualHost *:8000 and Listen 8000 Changed first line of /etc/apache2/sites-enabled/000-default to <VirtualHost *:8000> Restarted Apache service

Apache responded to dyndns.com:8000 from home machine No response when trying same on iPhone (sorry, it's the easiest way for me to test from outside my home network)

At one point, I added "ServerName localhost" to the otherwise empty httpd.conf file but that didn't seem to do a darn thing.

Many of the posts I have perused are at least a couple of years old and have included information on taking action with files that are not there or are no longer where they were. I have interpolated where I can but so far nothing has worked.

View 1 Replies View Related

Ubuntu :: Xmonad Is Failing To Respond

May 13, 2011

I'm running Xmonad and just recently it has stopped responding. None of my shortcuts are working at all. So I deleted my ~/.xmonad/xmoand.hs file, and still no luck. So I decided to log in as root and Xmonad works perfectly. Anyone know why Xmonad isn't working under my normal user? Is there a button i accidently pressed turning off the mod key?I was just browsing the web, then after I closed my browser nothing has been working, even after reboot.

View 1 Replies View Related

Ubuntu :: Server Just Dies - Won't Respond To SSH Or Anything Else ?

Jul 4, 2011

I have two servers, both running Ubuntu 11.04 Server. One is a web server, running only a LAMP stack and openssh-server. The other is running server daemons for TeamSpeak and Minecraft. Today, the game server just went down. I can access the LAN by using SSH to connect to the web server, and ping it from there. However, it won't respond to SSH or anything else. The server is a few kilometers from here, so I will be going there tomorrow.

This happened once before, probably about a month ago or something. That time, the web server was running just fine, but the game server was powered off. I thought there had been a power disruption, because when I checked the BIOS settings of the game server, it wasn't set to resume after AC power loss. The web server was set to do this, so it made sense that it would be up and running again after a brief power loss. There were also some news reports about power disruptions in my area.

The thing is, I changed the BIOS settings of the game server to make sure this wouldn't happen again. When I go there tomorrow, I will bring the server back up. However, I would like to know what caused this so that I may prevent it from occurring again. Is there a logfile or something that I can check tomorrow to find the problem?

View 2 Replies View Related

General :: Ssh - Convert .ppk Key To OpenSSH Key?

Jan 12, 2011

I know that is possible to convert .ppk under puttygen in Windows, but how to do that on Linux ? Is this possible ?

View 1 Replies View Related

General :: Openssh And Ssh Is Compatiable Or Not?

Aug 5, 2011

In my Redhat server , there is ssh installed . Now we need to run a program but it needs openssh , so I just would like to ask openssh and ssh is compatiable or not ? whether they are the same thing ?

View 1 Replies View Related

Ubuntu Servers :: 10.4 Apt-get Install Openssh-server Failure?

May 8, 2010

I'm trying to get openssh-server working so I can stop using the family TV and just SSH from my laptop. I've only just installed 10.4 server edition, and I've made a change to /etc/apt/sources.lst by removing the # in front ofdeb cdrom:[Ubuntu-Server 10.04 LTS Anyway I run:sudo apt-get install openssh-server

Code:
Reading package lists... Done
Building dependancy tree

[code]....

View 7 Replies View Related

Ubuntu Networking :: OpenSSH Public Key Authentication Not Working?

May 22, 2010

I'm trying to get OpenSSH public key authentication to work. My server runs ubuntu. My client is a windows machine, and I'm using cygwin. I tried using the instructions here: [URL]... If I test it out using this line: ssh -v -v -v -o PreferredAuthentications=publickey server.example.org

I get this:
debug3: no such identity: /home/Julie/.ssh/identity
debug1: Offering public key: /home/Julie/.ssh/id_rsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug3: Wrote 368 bytes for a total of 1477

[Code]...

View 2 Replies View Related

Ubuntu Servers :: Configure Openssh Ftp - Upload To Web Directory

Jul 27, 2010

I would like to upload files via ftp or sftp to my web directory at /var/www/...

Originally I had installed openssh-server (through apt-get, before learning about tasksel). I assumed this only had ssh support and not ftp, so after a quick search, I installed vsftpd. I would like to learn how to configure openssh, and I mention vsftpd in case there is a conflict.

Right now I am able to log in to my server box through ssh/ftp, but I can only modify my home directory. I created a directory: /var/www/andrew and set permissions to drwxr-xr-x. I am unable to upload files to this folder.

What do I have to do to resolve this, and is there anything else I should know about my situation?

View 3 Replies View Related

Ubuntu Security :: Replacing A Possibly Compromised OpenSSH Key?

Sep 22, 2010

I have an OpenSSH server running on Ubuntu 10.04, and it works fine.

I'm concerned that my SSH key may have been compromised and would like to replace it.

I tried replacing keys before and reinstalling OpenSSH and SSH before but ran into terrible trouble so I'm asking for instruction before touching anything this time.

Code:
laeg@skyrocket:~/.ssh$ ls
authorized_keys id_rsa id_rsa.ppk id_rsa.pub known_hosts
Code:
laeg@skyrocket:/etc/ssh$ ls

[Code]....

So can I just synpaptic 'fully' uninstall SHH (although probably even less necessary than..) and OpenSHH, backup sshd_config, delete the two dirs referenced above, reinstall both packages, insert my sshd_config backup, and then start from scratch following the guides linked below?

View 9 Replies View Related

Ubuntu Networking :: Change OpenSSH Home Directory?

Jan 16, 2011

I now have my ssh server all setup on my ubuntu 10.10 machine and properly working with a private rsa key. Anyway when I connect to it via my client it opens to: /home/myusername

I am able to run around the whole drive and have full access to everything, which is great. But I don't have anything on this hard drive. All my data and files that I really want to access are on the second drive of this computer. It doesn't have an OS on it, just files.how to change the directory to point to that drive and have full access of everything.

View 9 Replies View Related

Ubuntu Security :: Openssh On Box With Kubuntu 10.10, Didn't Install It?

Jan 27, 2011

i have openssh on my box with kubuntu 10.10, i didn't install it and would like to know it's purpose being on here

View 4 Replies View Related

Ubuntu Servers :: Stop Openssh From - Ever - Running At Start Up?

Jun 12, 2011

I'm running Ubuntu 10.04 LTS and I have installed openssh.I need to find a way to configure it so that it never start up when I boot into my computer. The reason is: I haven't had the time yet to learn how to set it up and configure it correctly. Until that time comes I don't want it to run at all.Every single time I boot into the system and I have to do that first before I can even do what I really need to on the computer. It's annoying.Does anyone know the best and least complicated way to just make it not run at all until I'm ready to set it up properly?Also how to check what is running on my system after I boot up so I can double check, after making the changes, that it worked right.

View 9 Replies View Related

General :: OpenSSH Server Restarts Twice When Booting - Ubuntu 9.10

Mar 20, 2010

Changes I've made to the config files:

Connecting with PuTTy works fine with my public/private keys. But why does sshd start and then restart twice when booting? I tried looking in the logfiles under /var/log/ for anything with ssh/sshd but nothing shows up.

Ubuntu Server 9.10

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved