Announcement

Collapse
No announcement yet.

What happened to SSH recently???

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    What happened to SSH recently???

    Hello All:

    Ever since I can remember, when I installed Kubuntu for the first time, and set up passwordless remote login, I was able to connect to my laptop and desktop by:

    ssh othercomputer

    Indeed, when I upgraded both to Jaunty, I made a lot of use of this functionality along with rsync. Today, however, I get this absolute weirdness:

    thayes@aurelius:~$ ssh seneca
    thayes@seneca's password:
    Linux aurelius 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 19:49:51 UTC 2009 i686

    The programs included with the Ubuntu system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.

    Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
    applicable law.

    To access official Ubuntu documentation, please visit:
    http://help.ubuntu.com/

    System information as of Mon Jul 27 19:30:01 EDT 2009

    System load: 0.31 Memory usage: 26% Processes: 128
    Usage of /: 6.9% of 456.52GB Swap usage: 0% Users logged in: 1

    Graph this data and manage this system at https://landscape.canonical.com/

    0 packages can be updated.
    0 updates are security updates.

    Last login: Mon Jul 27 19:15:47 2009 from seneca
    -bash: export: `=:/usr/local/texlive/texmf-local': not a valid identifier
    thayes@aurelius:~$


    In the past, what would happen after an ssh login I would see:

    thayes@seneca$

    if I had remote logged in from my laptop. Further, I had to delete my known_hosts file for the connection to even be made! It claims that I am logged in to seneca, but the directory structure is still that belonging to aurelius. Even more bizarre, when I tried to scp some files, it only copied the files from the computer the terminal was originally opened in. In other words, it's as though it only ssh'd back to "localhost."

    Thing is, with the exception of the upgrades I receive notification for, I have not done anything at all to either of my machines, which makes me think something nasty happened in one of the upgrades.

    Does anyone have any suggestions how to debug this?

    Cheers,

    t.
    GPG Key ID# 0x3AE05130

    #2
    Re: What happened to SSH recently

    Hi

    I would start by using full local IP's, something like

    Code:
    ssh myname@192.168.1.46
    Ifconfig will give you these IP's. If that works, it is some issue with DNS or something along these lines ...

    Cheers!

    Comment


      #3
      Re: What happened to SSH recently

      Thanks for the suggestion. It worked and I checked my hosts file with the output of ifconfig, and saw that the values were backwards (still not sure how that could have happened, but it did). I can now log in fine, but I still have this message being written to the terminal:
      Code:
      thayes@aurelius:~$ ssh seneca
      The authenticity of host 'seneca (192.168.0.101)' can't be established.
      RSA key fingerprint is 5c:f2:ad:34:6e:60:d8:0a:40:3d:10:8c:cb:12:2a:11.
      Are you sure you want to continue connecting (yes/no)? yes
      Warning: Permanently added 'seneca,192.168.0.101' (RSA) to the list of known hosts.
      Linux seneca 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686
      
      The programs included with the Ubuntu system are free software;
      the exact distribution terms for each program are described in the
      individual files in /usr/share/doc/*/copyright.
      
      Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
      applicable law.
      
      To access official Ubuntu documentation, please visit:
      [url]http://help.ubuntu.com/[/url]
      Last login: Mon Jul 27 21:12:47 2009
      thayes@seneca:~$
      Any idea how to suppress that?

      Cheers,

      t.
      GPG Key ID# 0x3AE05130

      Comment

      Working...
      X