LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-01-2019, 10:30 AM   #1
schwim
LQ Newbie
 
Registered: Jan 2010
Location: Denial
Distribution: #! 11(sid repos)
Posts: 28

Rep: Reputation: 0
All ssh connections being reset/refused


Hi there guys,

Working on Deb 8:

I can connect to sites via http/https, I can connect to servers via ftp, I just can't seem to shell in any way to any server.

I was working on a remote dedicated server and my connection started contantly getting reset while trying to work in SSH so I thought I would update the OS, restart and see if the issue was resolved.

Code:
schwim@schwim-vm-bl:~$ sudo apt-get update
Ign http://deb.debian.org jessie InRelease                                         
Ign http://deb.debian.org jessie-updates InRelease                                 
Hit http://security.debian.org jessie/updates InRelease                            
Hit http://ppa.launchpad.net trusty InRelease                                      
Ign http://deb.debian.org jessie-backports InRelease                               
Hit http://deb.debian.org jessie Release.gpg                            
Ign http://download.opensuse.org  InRelease                                        
Ign http://deb.debian.org jessie-updates Release.gpg                               
Hit http://download.opensuse.org  Release.gpg                                      
Ign http://deb.debian.org jessie-backports Release.gpg                             
Get:1 http://security.debian.org jessie/updates/main amd64 Packages [664 kB]       
Hit http://security.debian.org jessie/updates/contrib amd64 Packages               
Hit http://pkg.bunsenlabs.org jessie-backports InRelease                           
Hit http://download.opensuse.org  Release                                          
Hit http://deb.debian.org jessie Release                                           
Hit http://pkg.bunsenlabs.org bunsen-hydrogen InRelease                            
Ign http://deb.debian.org jessie-updates Release                                   
Ign http://deb.debian.org jessie-backports Release                                 
Ign http://deb.debian.org jessie-updates/main amd64 Packages/DiffIndex             
Get:2 http://security.debian.org jessie/updates/main i386 Packages [665 kB]        
Hit http://security.debian.org jessie/updates/non-free amd64 Packages              
Ign http://deb.debian.org jessie-updates/contrib amd64 Packages/DiffIndex          
Ign http://deb.debian.org jessie-updates/non-free amd64 Packages/DiffIndex         
Hit http://download.opensuse.org  Packages                                         
Hit http://pkg.bunsenlabs.org jessie-backports/main amd64 Packages                 
Ign http://deb.debian.org jessie-updates/main i386 Packages/DiffIndex              
Get:3 http://security.debian.org jessie/updates/main Translation-en [335 kB]       
Ign http://deb.debian.org jessie-updates/contrib i386 Packages/DiffIndex           
Hit http://security.debian.org jessie/updates/contrib i386 Packages                
Hit http://security.debian.org jessie/updates/non-free i386 Packages               
Hit http://security.debian.org jessie/updates/contrib Translation-en               
Hit http://security.debian.org jessie/updates/non-free Translation-en              
Ign http://deb.debian.org jessie-updates/non-free i386 Packages/DiffIndex          
Hit http://pkg.bunsenlabs.org jessie-backports/main i386 Packages                  
Hit http://ppa.launchpad.net trusty/main Sources                                   
Hit http://ppa.launchpad.net trusty/main amd64 Packages                            
Hit http://ppa.launchpad.net trusty/main i386 Packages                             
Ign http://download.opensuse.org  Translation-en_US                                
Hit http://ppa.launchpad.net trusty/main Translation-en                            
Ign http://download.opensuse.org  Translation-en                                   
Hit http://pkg.bunsenlabs.org bunsen-hydrogen/main amd64 Packages                  
Hit http://pkg.bunsenlabs.org bunsen-hydrogen/main i386 Packages                   
Ign http://deb.debian.org jessie-backports/main amd64 Packages/DiffIndex           
Ign http://deb.debian.org jessie-backports/contrib amd64 Packages/DiffIndex
Ign http://deb.debian.org jessie-backports/non-free amd64 Packages/DiffIndex
Ign http://deb.debian.org jessie-backports/main i386 Packages/DiffIndex
Ign http://deb.debian.org jessie-backports/contrib i386 Packages/DiffIndex
Ign http://deb.debian.org jessie-backports/non-free i386 Packages/DiffIndex        
Ign http://pkg.bunsenlabs.org jessie-backports/main Translation-en_US 
Ign http://pkg.bunsenlabs.org jessie-backports/main Translation-en    
Ign http://pkg.bunsenlabs.org bunsen-hydrogen/main Translation-en_US  
Ign http://pkg.bunsenlabs.org bunsen-hydrogen/main Translation-en
Err http://deb.debian.org jessie-updates/main amd64 Packages
  
Err http://deb.debian.org jessie-updates/contrib amd64 Packages
  
Err http://deb.debian.org jessie-updates/non-free amd64 Packages
  
Err http://deb.debian.org jessie-updates/main i386 Packages
  
Err http://deb.debian.org jessie-updates/contrib i386 Packages
  
Err http://deb.debian.org jessie-updates/non-free i386 Packages
  
Hit http://deb.debian.org jessie/main amd64 Packages
Hit http://deb.debian.org jessie/non-free amd64 Packages                           
Hit http://deb.debian.org jessie/contrib amd64 Packages                            
Hit http://deb.debian.org jessie/main i386 Packages                                
Hit http://deb.debian.org jessie/non-free i386 Packages                            
Hit http://deb.debian.org jessie/contrib i386 Packages                             
Hit http://deb.debian.org jessie/contrib Translation-en                            
Hit http://deb.debian.org jessie/main Translation-en                               
Hit http://deb.debian.org jessie/non-free Translation-en                           
Err http://deb.debian.org jessie-backports/main amd64 Packages                     
  
Err http://deb.debian.org jessie-backports/contrib amd64 Packages                  
  
Err http://deb.debian.org jessie-backports/non-free amd64 Packages                 
  
Err http://deb.debian.org jessie-backports/contrib i386 Packages                   
  
Err http://deb.debian.org jessie-backports/non-free i386 Packages                  
  
Err http://deb.debian.org jessie-updates/main amd64 Packages                       
  
Err http://deb.debian.org jessie-updates/contrib amd64 Packages                    
  
Err http://deb.debian.org jessie-updates/non-free amd64 Packages                   
  
Err http://deb.debian.org jessie-updates/main i386 Packages                        
  
Err http://deb.debian.org jessie-updates/contrib i386 Packages                     
  
Err http://deb.debian.org jessie-updates/non-free i386 Packages                    
  
Err http://deb.debian.org jessie-backports/main amd64 Packages                     
  
Err http://deb.debian.org jessie-backports/contrib amd64 Packages                  
  
Err http://deb.debian.org jessie-backports/non-free amd64 Packages                 
  
Err http://deb.debian.org jessie-backports/main i386 Packages                      
  
Err http://deb.debian.org jessie-backports/contrib i386 Packages                   
  
Err http://deb.debian.org jessie-backports/non-free i386 Packages                  
  
Err http://deb.debian.org jessie-updates/main amd64 Packages                       
  
Err http://deb.debian.org jessie-updates/contrib amd64 Packages                    
  
Err http://deb.debian.org jessie-updates/non-free amd64 Packages                   
  
Err http://deb.debian.org jessie-updates/main i386 Packages                        
  
Err http://deb.debian.org jessie-updates/contrib i386 Packages                     
  
Err http://deb.debian.org jessie-updates/non-free i386 Packages                    
  
Err http://deb.debian.org jessie-backports/main amd64 Packages                     
  
Err http://deb.debian.org jessie-backports/contrib amd64 Packages                  
  
Err http://deb.debian.org jessie-backports/non-free amd64 Packages                 
  
Err http://deb.debian.org jessie-backports/main i386 Packages                      
  
Err http://deb.debian.org jessie-backports/contrib i386 Packages                   
  
Err http://deb.debian.org jessie-backports/non-free i386 Packages                  
  
Err http://deb.debian.org jessie-updates/main amd64 Packages                       
  
Err http://deb.debian.org jessie-updates/contrib amd64 Packages                    
  
Err http://deb.debian.org jessie-updates/main i386 Packages                        
  
Err http://deb.debian.org jessie-updates/contrib i386 Packages                     
  
Err http://deb.debian.org jessie-updates/non-free i386 Packages                    
  
Ign http://deb.debian.org jessie-updates/contrib Translation-en_US                 
Ign http://deb.debian.org jessie-updates/contrib Translation-en                    
Ign http://deb.debian.org jessie-updates/main Translation-en_US                    
Ign http://deb.debian.org jessie-updates/main Translation-en                       
Ign http://deb.debian.org jessie-updates/non-free Translation-en_US                
Ign http://deb.debian.org jessie-updates/non-free Translation-en                   
Err http://deb.debian.org jessie-backports/main amd64 Packages                     
  
Err http://deb.debian.org jessie-backports/contrib amd64 Packages                  
  
Err http://deb.debian.org jessie-backports/non-free amd64 Packages                 
  
Err http://deb.debian.org jessie-backports/main i386 Packages                      
  
Err http://deb.debian.org jessie-backports/contrib i386 Packages                   
  
Err http://deb.debian.org jessie-backports/non-free i386 Packages                  
  
Ign http://deb.debian.org jessie-backports/contrib Translation-en_US               
Ign http://deb.debian.org jessie-backports/contrib Translation-en                  
Ign http://deb.debian.org jessie-backports/main Translation-en_US                  
Ign http://deb.debian.org jessie-backports/main Translation-en                     
Ign http://deb.debian.org jessie-backports/non-free Translation-en_US              
Ign http://deb.debian.org jessie-backports/non-free Translation-en                 
Err http://deb.debian.org jessie-updates/main amd64 Packages                       
  404  Not Found [IP: 151.101.56.204 80]
Err http://deb.debian.org jessie-updates/contrib amd64 Packages                    
  404  Not Found [IP: 151.101.56.204 80]
Err http://deb.debian.org jessie-updates/non-free amd64 Packages                   
  404  Not Found [IP: 151.101.56.204 80]
Err http://deb.debian.org jessie-updates/main i386 Packages                        
  404  Not Found [IP: 151.101.56.204 80]
Err http://deb.debian.org jessie-updates/contrib i386 Packages                     
  404  Not Found [IP: 151.101.56.204 80]
Err http://deb.debian.org jessie-updates/non-free i386 Packages                    
  404  Not Found [IP: 151.101.56.204 80]
Err http://deb.debian.org jessie-backports/main amd64 Packages                     
  404  Not Found [IP: 151.101.56.204 80]
Err http://deb.debian.org jessie-backports/contrib amd64 Packages                  
  404  Not Found [IP: 151.101.56.204 80]
Err http://deb.debian.org jessie-backports/non-free amd64 Packages                 
  404  Not Found [IP: 151.101.56.204 80]
Err http://deb.debian.org jessie-backports/main i386 Packages                      
  404  Not Found [IP: 151.101.56.204 80]
Err http://deb.debian.org jessie-backports/contrib i386 Packages                   
  404  Not Found [IP: 151.101.56.204 80]
Err http://deb.debian.org jessie-backports/non-free i386 Packages                  
  404  Not Found [IP: 151.101.56.204 80]
W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages  404  Not Found [IP: 151.101.56.204 80]

W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/contrib/binary-amd64/Packages  404  Not Found [IP: 151.101.56.204 80]

W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/non-free/binary-amd64/Packages  404  Not Found [IP: 151.101.56.204 80]

W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/binary-i386/Packages  404  Not Found [IP: 151.101.56.204 80]

W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/contrib/binary-i386/Packages  404  Not Found [IP: 151.101.56.204 80]

W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/non-free/binary-i386/Packages  404  Not Found [IP: 151.101.56.204 80]

W: Failed to fetch http://deb.debian.org/debian/dists/jessie-backports/main/binary-amd64/Packages  404  Not Found [IP: 151.101.56.204 80]

W: Failed to fetch http://deb.debian.org/debian/dists/jessie-backports/contrib/binary-amd64/Packages  404  Not Found [IP: 151.101.56.204 80]

W: Failed to fetch http://deb.debian.org/debian/dists/jessie-backports/non-free/binary-amd64/Packages  404  Not Found [IP: 151.101.56.204 80]

W: Failed to fetch http://deb.debian.org/debian/dists/jessie-backports/main/binary-i386/Packages  404  Not Found [IP: 151.101.56.204 80]

W: Failed to fetch http://deb.debian.org/debian/dists/jessie-backports/contrib/binary-i386/Packages  404  Not Found [IP: 151.101.56.204 80]

W: Failed to fetch http://deb.debian.org/debian/dists/jessie-backports/non-free/binary-i386/Packages  404  Not Found [IP: 151.101.56.204 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
schwim@schwim-vm-bl:~$
It seems absolutely everything I try fails. I'm not sure how to work through this issue. I can't update repos, I can't ssh me@myserver, I really need help getting any solution to this would be greatly appreciated.

To clarify, , debian updates fail, ssh to my server fails. fuse filesystem mountings fail.

Thanks for your time!

Last edited by schwim; 04-01-2019 at 10:41 AM.
 
Old 04-01-2019, 12:53 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,162

Rep: Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268
It sounds like your ssh daemon might not be starting or is failing. If you can ftp, then download the logs and look through them for errors. On my box /var/log/secure shows login attempts and errors.

Also try to login with "ssh -v me@myserver" to get more information about the failure.
 
Old 04-01-2019, 12:56 PM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,123

Rep: Reputation: 7371Reputation: 7371Reputation: 7371Reputation: 7371Reputation: 7371Reputation: 7371Reputation: 7371Reputation: 7371Reputation: 7371Reputation: 7371Reputation: 7371
how is your network configured at all?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix refuses all local and remote connections with: connect to subsystem private/rewrite: Connection refused knarvik97 Linux - Server 2 11-29-2017 05:10 PM
Prevent reset of network settings reset after cable unplug Mega-X Linux - Networking 5 01-02-2013 04:58 PM
Install ruby gems - connection reset, connection reset..... deco81 Linux - Software 1 06-16-2010 04:47 PM
All connections being refused on LAN server Carpintonto Linux - Server 7 05-26-2010 03:54 PM
eth0 going down (connection reset by peer, then connection refused) Astarath Slackware 1 09-05-2007 05:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration