Foreign domain in SSH last login
location: linuxquestions.com - date: January 4, 2015
I have strange problem with my NAS running Debian.
For the second time (I changed a password after first one) in the last year I found foreign domain name as "last login" althought the server is behind the router without public IP and I connect to it just from the local network.
The strange thing is: I can see foreign domain as "Last login", but in logs there is just a local address equiped to my laptop (I used to connect to NAS around that time). And also there is no evidence of any failed login.
The most scary thing is the external domain is owned by a company at same postal address like my ISP (and use their services), so I'm not sure if is possible that my router just routed my laptop strange way, or somebody trying to get my data.
Thank you for all your answers.
ssh hangs on “Last login” line
location: linuxexchange.com - date: August 20, 2012
This happened for the first time three days ago - I ssh to the server, authenticate using a password, get the welcome message but it remains hanging on the "Last login:..." line. The command line doesn't show and the server doesn't react to my input. Other services on the server keep working ok (apache, tomcat, database, ..). The box has an out-of-band management using which I was able to restart it. After the restart the ssh worked ok again and I didn't find anything suspicious in the logs. Three days later the same problem occurs on this box again, and newly on yet another server in the cluster - 100% same symptoms.
Both servers have about 2 month old installation of Debian Squeeze (6.0.2) and the problem never occurred before despite frequent ssh-ing, so it should not be a problem of settings. We haven't been installing anything new for quite some time now. I also made sure there is enough disk space on both servers. Since it started to happen all of a sudden on two servers at abo
ssh passwordless login
location: ubuntuforums.com - date: August 3, 2012
I have set up my laptop so I can log in to my pc with no password. I'm also forwarding port 22 in my router to my pc.
I would like to set up ssh so that I can still log in passwordless from the local network, but not when I'm somewhere else.
Is this possible? If yes, how?
[SOLVED] How to lock the users after ssh failed login attempts ?
location: linuxquestions.com - date: December 7, 2012
Hi LQ Dears
I am using RHEL 5.4 Linux box,
Still i am facing lot of failed login attempts from SSH.
Is there any way to lock or restrict the user after failed
login attempts ?
please guide me guyz !
[SOLVED] ssh Passwordless login error in centos backuppc error
- date: May 18, 2012
I followed the below link for configuration for ssh passwordless login between server and client .But passwordless login never works from client its keep on requesting for password
Server side configuered
# cd /var/lib/backuppc
# mkdir .ssh
# chown backuppc.backuppc .ssh
# chmod 700 .ssh
su -s /bin/bash backuppc
bash-3.2$ ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (/var/lib/backuppc/.ssh/id_dsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /var/lib/backuppc/.ssh/id_dsa.
Your public key has been saved in /var/lib/backuppc/.ssh/id_dsa.pub.
Genereted pub &private key and paste pub key in server /var/lib/backuppc/.ssh/authorised_keys file
moved out the private key to /home/sanjay/authorised_keys.
But when i try to login it keep on requesting for password
:~$ cd .ssh/
SSH nopasswd login
location: linuxquestions.com - date: June 19, 2006
I have a Sun fire 880 with solaris 9 installed.
And I want to ssh the host with nopasswd login
How can I perform this operation?
Please Help me
Thanks for your help.
ssh remote login error
location: ubuntuforums.com - date: April 17, 2009
I've just deployed a standard Ubuntu 8.04 server virtual machine. I can ping and reach that machine.
The problem is with SSL.
As soon as standard install was done, I could ssh localhost and everything worked fine.
However, if I try to connect to ssh from a remote host, I get "access denied".
I turned on verbose logging for sshd, so I came up with this:
pr 17 17:29:08 fntServer sshd: Connection from 127.0.0.1 port 36066
Apr 17 17:29:08 fntServer sshd: Failed none for davide from 127.0.0.1 port 36066 ssh2
Apr 17 17:29:14 fntServer sshd: pam_smbpass(sshd:auth): unrecognized option [missingok]
Apr 17 17:29:14 fntServer sshd: Accepted password for davide from 127.0.0.1 port 36066 ssh2
Apr 17 17:29:14 fntServer sshd: pam_unix(sshd:session): session opened for user davide by (uid=0)
Apr 17 17:29:17 fntServer sshd: Connection closed by 127.0.0.1
Apr 17 17:29:17 fntServer sshd: pam_unix(sshd:sessi
[SOLVED] Getting a command to run on ssh/cli login ONLY
location: linuxquestions.com - date: February 25, 2008
I've got a FC8 machine that I sit and use at the console a lot, but also access remotely via ssh. Also sometimes I ssh in as another account and then su to my own account.
There's a particular command I'd like to run ONLY if I ssh into the machine as myself, or su to myself, but NOT if I sit down and have a graphical session at the console.
I'm not sure where I'd put it so it will run only on non-GUI (ssh) login or via su.
Can anybody give me an answer?
SSH cannot login as 1 particular user
- date: November 24, 2006
Quick summary - I have 1 user in particular who for some reason cannot login via SSH to my server. I have 2 other users that can login with no problems. This problem didn't manifest until I upgraded my Slackware install from 10.2 to 11. There were some "issues" ( ) with that upgrade, but I thought I had worked them out... guess not
I have 2 machines, one the server, one a client. Both these machines have a user called "pat". I'm logged into the client machine as "pat", and I'm trying to ssh to the server as "pat" as well: "[email protected]
: ssh [email protected]
". It gets to "password" authentication, but my password is rejected. If I try to login as a different user: "[email protected]
: ssh [email protected]
", I have no problems at all - user2's password is accepted just fine.
So - technically I CAN login to my ssh server (I know, I can just su to "pat" once I'm there) but I'm going nuts trying to f
SSH: Automated Login via public key not working
location: linuxquestions.com - date: August 17, 2009
so here's the goal I want to reach:
Run a script on ServerA which uses a ssh-connection to ServerB to execute a few commands on ServerB.
As ServerB only allows login with username+password the whole stuff gets more complex.
SSH provides key authentication enabling passwordless login as you probably know.
So as stated in many tutorials I did the following:
Page: 1 2 3 4 5 6 7 8 9 10