37
votes
ssh: connect to host github.com port 22: Connection refused
Have you tried using port 443, and adding ssh. subdomain prefix?
This command will test it. You should get an error since a shell is not supported.
ssh -T -p 443 git@ssh.github.com
Then you can use ...
20
votes
How to get connection to both wifi as well as LAN in ubuntu 14.04 LTS?
Step by Step Procedure:
Ubuntu allows multiple connections by default, but sometimes, we need to specify which one to use. In your comments, you have mentioned that you use LAN for the Intranet and ...
12
votes
Accepted
ssh: connect to host github.com port 22: Connection refused
If you get a connection refused, it means you actually got a packet back which states that your destination does not accept your connection.
This could mean a few things:
github.com is down (not too ...
11
votes
Wifi problems with rtl8723be in Ubuntu 14.04
My friend's HP laptop wouldn't display the available Wi-Fi networks.
So I followed the steps from Miodrag Prelec's answer till echo "options rtl8723be fwlps=0" | sudo tee /etc/modprobe.d/rtl8723be....
11
votes
Accepted
I can only ping google and ubuntu
It looks like these having A and AAAA-Records registered properly:
google.com
youtube.com
ubuntu.com
It looks like those dont have / misconfigured AAAA-Records but have A-Records:
github.com
cnet....
10
votes
Deluge daemon connection?
The most probable reason is that you are not running the daemon. To start the daemon use
deluged
Then try deluge-console
10
votes
Shell script to ban an IP
First of all, don't reinvent the wheel. That's precisely what denyhosts is for:
DenyHosts is a python program that automatically blocks ssh attacks by
adding entries to /etc/hosts.deny. ...
10
votes
Topic: Ripper X & Asunder CD Ripper
This happened because of FreeDB CDDB downing:
freedb.org and its services was scheduled to be shut down on March 31 of 2020. As of May 28, 2020 the site was still operational.
On the 13th of June ...
8
votes
"ssh localhost " command is showing 20 bad configuration options
Open the /etc/ssh/ssh_config and remove all the listed options. They are supposed to be part of the sshd_config (the server configuration), not the client one.
7
votes
SSH resets to default port on reboot
ssh may be "socket activated" by systemd depending on configuration, which means that initially it is systemd that sets up the listening port, and sshd is only started when a client first connects. ...
7
votes
Accepted
error message when using wget to Internet : Connecting to localhost (localhost)|::1|:8080... failed: Connection refused
The output of the wget command suggests that you are using a proxy.
Run the following command on the same terminal that you are running the wget command:
$ env | grep -i proxy
Then run unset ...
6
votes
Connection could not be found
To try and check where your wifi issues may be, troubleshooting using these commands in a terminal (Ctrl + Alt + T) can be handy:
Check status of connectivity: nmcli networking connectivity
Check ...
6
votes
Accepted
Can establish connection, but still get "connect: Network is unreachable"
Based on your ifconfig output, it looks like the connection is established at the OSI link layer, but that the interface is not assigned an IP address.
There are several possible explanations for ...
6
votes
Accepted
Nautilus - Connect to Server option not visible
You should:
Enable leftside bar with F9 (skip this step if it is already enabled).
Click on Other locations
Find Connect to Server in the buttom of the window:
Enter address with protocol - one from ...
6
votes
Accepted
Can't use internet because networkmanager has disappeared !! (Ubuntu 20.04 LTS)
In the absense of Network Manager, I suggest that you use netplan. From the terminal, do:
ls /etc/netplan
Find out the name of the file. Make a backup as you will need it after reinstalling NM:
sudo ...
6
votes
Can not connect Arduino IDE with Arduino Board on Ubuntu 22.04
This bug was mentioned in;
https://bugs.launchpad.net/ubuntu/+source/brltty/+bug/874181
it is caused by the brltty daemon as mentioned. Another way is to disable it by;
systemctl stop brltty-udev....
5
votes
Ethernet not working on ubuntu 14.04 LTS
Follow the steps here:
Download e1000e here
Building and installation
Move the base driver tar file to the directory of your choice. For example, use /home/username/e1000e or /usr/local/src/e1000e
...
5
votes
Cannot connect Ubuntu to starbucks wifi network
The issue is it recognises that the WiFi connection is trying to “hijack” the secure connection. It prevents this.
To avoid this, navigate to http://neverssl.com. This webpage will never use HTTPS ...
5
votes
My browsers can not connect to the internet while my Ubuntu is connected
This occurred to me when I updated firefox. It occurred because by default firefox use IPv6 protocol. You need to disable that.
Try this:
1) In search tab, type about:config
2) Accept the safety ...
5
votes
Accepted
Network Unreachable - Ethernet
In Ubuntu 18.04 and later, ifup/down, implemented by /etc/network/interfaces, is replaced by netplan. Therefore, please revert the faulty entries. From the terminal:
sudo nano /etc/network/interfaces
...
5
votes
Accepted
Bluetooth earbuds constantly reconnecting (Sennheiser Momentum TW 2)
I had this issue as well and just spent many hours attempting to solve it. I've narrowed it down to an issue with the AVRCP profile (controls the media buttons).
As a work around you disable AVRCP ...
4
votes
Accepted
Which process is accessing which IPs?
If you only want to see those connection that arouse your suspicion you can really use lsof.
sudo lsof -i | egrep -i "cloudfront|poneytelecom|dark"
lsof -i restricts the output to internet ...
4
votes
MSSQL connection from Ubuntu
On Trusty 14.04 I had problems making http://ibiblio.org/pub/Linux/ALPHA/freetds/stable/freetds-stable.tgz
When I tried to run a tsql command, I found out tsql can be installed via apt:
$ sudo apt-...
4
votes
Accepted
how can i kill all established connections before running iptables bash scrip
You can flush the entire connection tacking table with this command:
sudo conntrack --flush
You will need the conntrack package:
sudo apt install conntrack
4
votes
Wifi Connection Issues on Ubuntu 16.04
Sometimes, wireless gets disconnected because of settings in the router. First, most routers are set by default to the lowest common denominators including WPA and WPA2 auto-select, AES and TKIP auto-...
4
votes
Accepted
I keep getting DNS_PROBE_FINISHED_BAD_CONFIG error. How can I fix this?
Try
sudo dhclient -r interfacename
sudo dhclient interfacename
where interfacename is yours (mine is eth0)
This will release and renew your Ip address.
If this doesn't help, The COX DNS servers ...
4
votes
Accepted
My browsers can not connect to the internet while my Ubuntu is connected
I had the same problem and solved it by the following steps:
1) Open FireFox and enter about:preferences in the URL.
2) In the General tab scroll to the bottom.
3) Under the Network Proxy header ...
4
votes
Ubuntu Server 18.04 setting WiFi connections when install
You need to use the older version of the installer aka. "the d-i installer". When I say "older version", it's still an installer for Ubuntu Server 18.04, it just uses the installer framework ("d-i") ...
4
votes
Accepted
Refused to connect-to same machine's local ip address (192.68....)
Hello and welcome to AskUbuntu!
As you can see from netstat, your service is listening only on localhost:
tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN 5879/ng
...
4
votes
Server: After upgrade from 16.04 to 18.04 ssh and ftp refuses connections
Actually, turned out my provider has a rescue mode in which I could figure out the problem and fix it.
The OpenSSH version got update to a newer one. My OpenSSH configuration was invalid with the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
connection × 799wireless × 218
networking × 211
internet × 169
ssh × 75
server × 73
ethernet × 47
network-manager × 46
14.04 × 42
wired × 38
16.04 × 35
12.04 × 35
18.04 × 31
vpn × 26
bluetooth × 25
drivers × 21
20.04 × 21
usb × 16
command-line × 15
11.10 × 15
mysql × 15
lan × 14
12.10 × 13
iwlwifi × 13
apt × 12