Are you a spammer

Please note, that the first 3 posts you make, will need to be approved by a forum Administrator or Moderator before they are publicly viewable.
Each application to join this forum is checked at the Stop Forum Spam website. If the email or IP address appears there when checked, you will not be allowed to join this forum.
If you get past this check and post spam on this forum, your posts will be immediately deleted and your account inactivated.You will then be banned and your IP will be submitted to your ISP, notifying them of your spamming. So your spam links will only be seen for an hour or two at most. In other words, don't waste your time and ours.

This forum is for the use and enjoyment of the members and visitors looking to learn about and share information regarding the topics listed. It is not a free-for-all advertising venue. Your time would be better spent pursuing legitimate avenues of promoting your websites.

SSH not working from localhost

The Ultimate Guide for the rest of us


SSH not working from localhost

Postby AltheaCastro » Wed Sep 19, 2012 5:26 am

I can use "ssh myusername@myhostname" from another system and also from http://webssh.uni.me .
But when I'm logged on "myhostname" as "myusername" i get a connnection refused when i try "ssh localhost" (or "ssh 127.0.0.1").
What can cause this ?
AltheaCastro
U.E. Newbie
U.E. Newbie
 
Posts: 1
Joined: Wed Sep 19, 2012 5:13 am
Operating System: Ultimate Edition 3.1 64 BIT



Re: SSH not working from localhost

Postby Micro » Mon Sep 24, 2012 10:38 am

Have you tried removing and reinstalling OpenSSH? This may help also http://ubuntuforums.org/showthread.php?t=1702992

sudo apt-get remove openssh-client openssh-server

sudo apt-get install openssh-client openssh-server

Hope this helps!
Image
https://www.linkedin.com/in/josephperrello
Thermaltake Series Core X9 SPCC E-ATX Cube Case
CORSAIR Vengeance LPX 64GB Quad Channel DDR4
EVGA 120-G1-0750-XR 80 PLUS GOLD 750W PSU
APC BR1300G Back-UPS Pro 780W/1300VA UPS
ASRock X99 Extreme4 LGA X99 Motherboard
OC-Intel Core i7-5820K @ 4.1GHz × 12
Corsair H100i V2 CPU Cooler. 240mm
Kernel Linux 4.6.4-1-ARCH x86_64
MATE Desktop Environment 1.12.1
OS - SAMSUNG 950 PRO M.2 512GB
DATA - 2 SSD 840 EVO RAID 0
MEDIA - 4 HDD 3TB RAID 0
NVIDIA GeForce GTX750 Ti
ViewSonic PJD7820HD
OS - Filesystem F2FS
Arch Linux
User avatar
Micro
Site Admin
 
Posts: 485
Joined: Tue Apr 24, 2012 1:16 pm
Age: 46
Operating System: Other Linux


Return to Newbie's Corner

Who is online

Users browsing this forum: No registered users and 9 guests