General :: Eliminate Ssh Login Delay Without Touching Sshd?

Mar 11, 2011

Whenever I login to a certain server using SSH I get a very long delay before a prompt appears. Everything I looked up on this issue says that it's a DNS issue and that I should disable reverse DNS lookups on the server.

But, the remote server is a shared webhosting server. I e-mailed the sysadmins but they say they have no DNS issue and that they won't change the server configuration. So, how can I fix this issue from my side (client side)? I have a static IP address and a hostname that points to it.

View 2 Replies


ADVERTISEMENT

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

General :: Sshd Accepts Root Login Without Password?

Jul 18, 2011

I'm trying to figure out why my industrial appliance (x86, running kernel 2.6.21.7 and OpenSSH_4.3p2 / OpenSSL 0.9.7m) accepts ssh connections without asking for a password (even for root)!When I log on to the local console as root I have to enter a password but strangely this prompt won't appear using a ssh connection (although I'm not using any client certificates).Of course that not acceptable but I just can't find the related configuration entry to disable this "password-less" authentification.Is this related to the sshd or has it something to do with the PAM module?

- Update ->
While looking at /var/log/secure, I've found the following lines:
Jul 18 16:55:07 localhost sshd[5712]: Accepted none for root from XXX port 6393 ssh2

[code]....

View 8 Replies View Related

Programming :: Shell Script Ssh : Eliminate Login Process Output?

Jun 1, 2009

I use tcl-expect script to ssh to the server. How can I eliminate the first 2 lines if using system(./script.sh) to execute it, as the default output will be shown on shell and the first 2 lines are included.

Essentially I just want to have the "ps" result, not the login process. code...

View 1 Replies View Related

Debian :: Systemd / Sshd And Login To Localhost

Sep 20, 2015

When i login on localhost with pubkey-auth, i get the following in my log

Code: Select allSep 20 12:42:27 aldebaran sshd[19745]: Accepted publickey for root from 127.0.0.1 port 37520 ssh2: RSA 45:4e:27:4d:30:f5:3d:25:10:d0:92:88:53:77:1a:3b
Sep 20 12:42:27 aldebaran sshd[19745]: pam_unix(sshd:session): session opened for user root by (uid=0)
Sep 20 12:42:27 aldebaran systemd[19757]: pam_unix(systemd-user:session): session opened for user root by (uid=0)
Sep 20 12:42:27 aldebaran systemd-logind[585]: New session 70 of user root.
Sep 20 12:42:27 aldebaran systemd[19757]: Starting Paths.

[code]....

View 1 Replies View Related

Security :: Ssh - Sshd Parameter To Set To Block Out User After Number Of Attempts Tp Login?

Apr 28, 2011

Is there an ssh or sshd parameter that can be set to block out a user after a set number of attempts tp login ?

View 1 Replies View Related

General :: Instaling Linux Without Touching MBR

Jul 7, 2011

I want something stable,tested(not buggy like ubuntu) , easy/automatic configuration(like ubuntu) , and of course should have the option to install the mbr on partition.I know its possible. I just want to know which distribution would make it easy.What I want is to install linux on a separate partition without installing any bootloader like grub onto my MBR. Instead I want to use the already installed xp's bootloader.I think debian's w32 installer works like this. But it is giving me a hal.dll not found error.

View 14 Replies View Related

Debian :: Running Command After Delay (On Login)?

Mar 13, 2011

I want to run a command on startup (Via startup applications) that has to wait for another program to run first.I don't seem to be able to use sleep to delay the command as it is stored in a .desktop file.How do I make it run later, preferably without having to create a script just for this one command.Also, how do I make the system start with compiz? Change "/desktop/gnome/session/required_components/windowmanager" ? Or do it the clean way by (Somehow) configuring gnome to use compiz?

View 3 Replies View Related

Debian Multimedia :: Xdm Long Delay Before Login

Jan 26, 2016

Im experiencing a long delay before the gdm login screen appears in debian jessie with kernel 4.4 and also with the distro kernel 3.16

there in the Xorg.log
Code: Select allX.Org X Server 1.16.4
Release Date: 2014-12-20
[    22.516] X Protocol Version 11, Revision 0
[    22.516] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian

[code]...

they claim to have fixed the issue after kernel 3.4 so i must have some missconfiguration causing this loop.

View 2 Replies View Related

Ubuntu :: 10.04 Login Delay - Receive 30 To 40 Seconds Lag

Sep 15, 2010

When I log into my ubuntu 10.04 after booting my computer, I receive a 30-40 second lag before I can actually log in. During this lag, I can move the cursor and the login background is shown, but the computer seems to be doing nothing. It is as if there is a sleep command before I even log in. I am using a Sager 2096 computer but I got this computer for free and it did not come with the specs. I had installed a 64-bit version of Ubuntu because this computer has a 64-bit architecture. However, whenever I install software, it always has to install the x86 version because the x64 is "not supported." Perhaps I have a mix of 32 and 64 bit programs and that is what is screwing it up?

View 3 Replies View Related

Security :: Failed Login Delay Parameter

Apr 27, 2010

Does anyone know a method for setting the timeout period for failed logins on Linux RHEL5.x systems? Linux docs say to set the failed login delay paramter in /etc/login.defs to the desired seconds. I did this, but the settings have no effect, ie weather set to 2,4,10, etc, the actuall failed login timeout period(which I verified with a stopwatch), never changes.

View 1 Replies View Related

Ubuntu Installation :: Login Delay After Lucid Upgrade

Apr 30, 2010

Right after I type in my username and password and hear the usual login sound I have to wait about 15 to 20 seconds to get the X desktop. The system load average monitor is at its max and starts to become lower.If I log out and in again I dont get that delay. It only happens with logging in after a reboot/power on.I tried to open a console (Ctrl+Alt+F1) before I log in, move back to X and login then jump to console and use htop to see what's eating up my resources during that time with no luck. Everything seems to be normal.

View 3 Replies View Related

Ubuntu Installation :: Delay In Startup / Ffy1 Login To Start GUI

Dec 29, 2010

I've recently installed ubuntu 10.10 again and when I boot it starts in ffy1 console, in which I need to login.After the login in console version it will display the error after this it takes ~30 seconds till the normal graphical login screen I've searching the forum about this problem but haven't encountered the solution anywhere nor the problem itself.And yes I do see the disk errors but that would be during the login on the graphical screen.

View 3 Replies View Related

General :: Options To Install Ubuntu Without Touching Partition Table?

Jul 7, 2011

Purpose: Python, PHP, WebKit (hopefully), and pyqt development. There is Wubi for Ubuntu, which I am using right now. But Ubuntu 11.04 doesn't work well with my system. There is a Wubi like installer for Puppy Linux. There is Debian Win32 installer, but I think that does touch the partition table. My last option is to simply grab Ubuntu 10.04 LTS and hope it works. Would that be a viable solution considering my needs?

View 5 Replies View Related

Ubuntu Installation :: Post-GRUB 2 Delay - Troubleshoot This And Determine What Is Causing The Delay

May 11, 2011

After GRUB 2 comes up (I'm running Ubuntu 10.10) and I choose the OS to boot, there is about a 5 second delay where nothing appears to happen after I make the selection -- no disk activity. It happens consistently every time I boot. Again, this is after I choose the OS to boot, so it shouldn't have anything to do with the standard delay to allow me to choose the appropriate OS.Is there a good way to troubleshoot this and determine what is causing the delay?

View 4 Replies View Related

General :: Eliminate Error When No Parameter Is Supplied?

Apr 23, 2011

I am familiar with bash, but my works require csh. in my .cshrc, I created this alias:alias cd 'cd !:1; ls -l' It works very well except for one case: when I cd without any parameter:

cd In which case, I get the "Bad ! arg selector" error. How do I eliminate this error?

View 1 Replies View Related

General :: 2D Modesetting With Radeon Driver Eliminate DRI?

Mar 29, 2010

I have Radeon HD 3870, which is limited to 2D purposes I understand...

Will this mean that I cannot use DRI? Will it have a performance impact in 2D applications?

Does DRI make watching movies on PC 'better'? Especially 720p ones.

View 3 Replies View Related

General :: Eliminate Unwanted Text In Txt File?

Feb 17, 2011

I have a few problem. I have a txt file that convert from pcap to txt file. What I want is to eliminate unwanted text from my txt file. Here is the example of the what I want to do:

This is original file in txt file

Quote:

No. Time Source Destination Protocol Info
1 0.000000 158.27.22.66 61.39.220.82 HTTP Continuation or non-HTTP traffic
0000 00 1f 9e 1a 5b 00 00 21 55 84 9a ff 08 00 45 00 ....[..!U.....E.
0010 05 8c e4 14 40 00 36 06 8d 1c 3a 1b 16 42 a1 8b ....@.6...:..B..
0020 dc 52 00 50 05 12 18 d4 17 f0 64 3f b0 94 80 10 .R.P......d?....

[Code].....

View 6 Replies View Related

General :: Proper Method To Eliminate Previous Boot Images On Kubuntu?

Jul 28, 2010

Every time kubuntu updates its headers/boot image I get another version on disk in /boot. These also show up in menu choices when I boot. I currently have 7 or 8 versions and would like to get down to three or four.

In the past I just deleted the files of related versions from /boot but is this the preferred method? Is there a better/safer way to get rid of old kernels?

View 1 Replies View Related

Ubuntu :: Long Delay Between "pink Screen" And Login Dialog

Aug 5, 2010

I'm running Ubuntu Lucid Lynx (kernel 2.6.31-24). After booting, when the "pink screen" comes up, the login dialog doesn't appear for about a minute, and the KB and mouse are frozen. It takes another 30 seconds before the KB and mouse unfreeze and I can type in my password.

View 3 Replies View Related

General :: Multiple Sshd On Different Ports ?

May 17, 2011

How to separate sftp and ssh and run on different ports.

i.e.
a) sftp on port x
b) ssh on port 22

I searched from the web and there are no detailed instructions. They suggested something like separating sshd_config into two files (file A and file B) and run two instances. Each instance points to its configuration file.

However, they didnt write down the detailed procedure of:

a) how to modify file A and file B (i.e. which line should insert specific commands)?

b) how to run two instances?

c) how to point each instance to its config file.

I am using Linux CentOS and the latest open-ssh.

View 4 Replies View Related

General :: SSHd Not Running On Ubuntu 10.10 VM?

Oct 14, 2010

I have just built my first ever Linux desktop, using VM Ware and it is running Ubuntu 10.10. I wish to try and use SSH to contact the machine but I don't believe the SSHD is running.

I have done a grep for SSHD shows nothing and have checked the Synaptic Package Manager and can see an openssh-client version 1:5.5.p1-4ubuntu is currently installed.

On Solaris, you can start SSH by typing /etc/init.d/ssh start but when checking /etc/init.d on Linux, there is nothing in there called SSH so am unable to restart it.

I just want to have the SSH running on the machine.

View 3 Replies View Related

General :: Debian - Minimal Distribution With Sshd And Apt?

May 27, 2010

When I signed up for my Debian Linux VPS hosting and first logged on and invoked ps, there was the only user process running: sshd. As I can see, this was minimal Linux with only two things installed and configured: sshd and apt (plus all dependencies, of course).

I want to build (or use existing) similar Linux distro, any advice on how to build (or pick) one? Googling "minimum linux", or "linux with sshd only" usually brings up Debian's netinstall, which is not what I want.

View 6 Replies View Related

Ubuntu :: Disk Partitioning Without Touching OS?

Jul 3, 2010

i currently have ubuntu server installed, where i host some files. now is it possible to create a new partition on my disk and move the data there, without resintalling the OS?if so, how?

root@kitsch:~# df -T
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/mapper/kitsch-root

[code]....

View 1 Replies View Related

General :: Unable To Close SSHD On IPv6 TCP Port?

Aug 23, 2011

I'm running Ubuntu 10.4 and I've tried disabling IPv6 as I don't currently need it. I rand the following to disable IPv6 and then rebooted my server:

echo "#disable ipv6" | sudo tee -a /etc/sysctl.conf
echo "net.ipv6.conf.all.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf
echo "net.ipv6.conf.default.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf
echo "net.ipv6.conf.lo.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf

After the reboot I can see that IPv& is disabled by running:

cat /proc/sys/net/ipv6/conf/all/disable_ipv6

On running netstat -antlp i see that most of the IPv6 applications have closed but SSHd keeps running:

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:9090 0.0.0.0:* LISTEN 663/java

[Code]....

Ho can I close the SSH daemon on port 22 of the IPv6?

View 2 Replies View Related

General :: Configure Sshd To Connect ONLY With Public Key Auth?

Jan 12, 2010

How i can configure sshd to connect ONLY with Public Key Auth?

currentStatus : If you have no key. then you can log in with your password.

View 2 Replies View Related

Ubuntu Installation :: Without Touching Windows Bootloader?

Sep 23, 2010

So here's the skinny, I have Windows 7 home Premium installed on my Touchsmart PC. I have a 60 GB partition I want to use for Ubuntu. Can I install Ubuntu to that partition so that it doesn't change how my computer boots up already?

Example:

I press the power button. The POST test processes and then boots into windows no questions asked, as if it's the only OS on the system.

I want to keep it that way even after Ubuntu is installed.

I want Ubuntu ONLY accessible by using the BIOS boot menu as soon as the PC starts up.

View 5 Replies View Related

Debian :: Automounting USB Drives Without Touching FSTAB And GNOME?

Apr 11, 2010

Before I leave with a bad taste in my mouth forever from the linux communities here, I'd like to ask one more question. I've been snooping around a bit about this issue of how to automount USB Drives, have them show on the desktop in file managers like PCManFM and not have to touch fstab at all.

How do I do this? Without touching Fstab, GNOME, any other DE. I only want openbox around.Another question I also hope to answer: How do I make shortcuts in PCManFM?

View 3 Replies View Related

Ubuntu Installation :: Installing - Booting - 11.04 Without Touching Windows 7 MBR

Aug 5, 2011

What is the "recommended" method for dual-booting Ubuntu and Windows 7, if one cannot allow the disk's MBR to be overwritten or changed in any way?

Before now, I have either installed GRUB/GRUB2 to the MBR, or else installed Ubuntu and Windows to two different hard drives.

The machine in this case, a Samsung NP300-V5A-A02US notebook PC, has only a single hard drive. I cannot allow any alteration of the MBR, because then the Samsung backup/system recovery software (Samsung Recovery Solution 5) will no longer work.

View 4 Replies View Related

Ubuntu :: Xserver Crashed After A Weekend Without Touching Computer

Dec 13, 2010

I have installed on friday a new distro on my computer, ubuntu 10.04 lts on my 1GB ram and 3Ghz computer. It has dual booting system. Everything worked fine, i have even been using the xwindows and althought i must say that it felt a bit slow in time reaction to my typing still good enough. I left the computer running with no programs, just idle and now my computers screen is dead. I can not see anything.

I restarted the computer and in normal mode it goes black.I started in recovery mode and i manage to get to a console where I type startx and i see the next error.So I had a fresh install, i worked with the xserver (so i do not think is a driver problem) fine until i left the computer without running anything and the xserver crashed.

View 4 Replies View Related







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