Questions tagged [connection-sharing]

54 questions
87
votes
4 answers

How to close (kill) ssh ControlMaster connections manually

With the following .ssh/config configuration: ControlMaster auto ControlPath /tmp/ssh_mux_%h_%p_%r ControlPersist 4h How to close the persisting connection before the 4 hours? I know you can make new connections, but how to close them (all)? Maybe…
Paolo
  • 1,495
  • 2
  • 13
  • 8
24
votes
6 answers

Can I connect a Ubuntu Linux laptop to a Windows 10 laptop via ethernet cable

I have seen people connect two computers with an Ethernet cable, but the instructions I've seen were for Windows to Windows or Mac to Mac or Windows to Mac. I never came across any for connecting Windows to Linux. Is it possible to connect a Windows…
Henry WH Hack v3.0
  • 462
  • 1
  • 4
  • 10
15
votes
2 answers

Why not simply use %h in OpenSSH ssh's ControlPath option?

Why do the "ssh_config(5)" manpages recommend that the ControlPath option should contain at least the %h, %p and %r placeholders in order to uniquely identify each shared connection? I thought that multiple sessions should share the same socket with…
Tim Friske
  • 2,190
  • 3
  • 23
  • 36
7
votes
4 answers

How do I share internet with Windows from my Linux box?

I have a Linux (Ubuntu 12.04) PC connected to the internet with a Greenpacket WiMax USB modem. I want to share the Internet connection with another computer running Windows 7 Home Premium, connected to the Linux PC over a LAN. Is this possible? How?…
muntasir2000
  • 105
  • 1
  • 2
  • 4
7
votes
1 answer

NAT (Internet connection sharing) switching between multiple public interfaces

My Ubuntu 12.04 (precise) laptop has three network interfaces: eth0: wired interface sometimes connected to the Internet wlan0: wireless interface sometimes connected to the Internet vboxnet0: wired interface (actually a VirtualBox virtual…
4
votes
1 answer

Is there a tool that lets me share internet connection through Wifi?

I really like OS X's ability to share the internet connection through everything within several mouse clicks, but it seems that the Mac is doing something funny that prevents Linux machines from connecting. Is there a Linux software that lets me do…
phunehehe
  • 20,030
  • 27
  • 99
  • 151
4
votes
1 answer

Share Internet Connection from computer to new router

On my linux computer I have an external wlan adapter which is connected wirelessly to internet (an access point). Now I want to connect my linux computer via ethernet cable to a new ddwrt router. This ddwrt router should now "get" internet from my…
John
  • 41
  • 1
  • 2
4
votes
2 answers

How to use iphone internet tethering via USB with Ubuntu 10.04

What are the steps to use iPhone 3G internet tethering via USB on Ubuntu 10.04? Is there software I need to install on Ubuntu for this? The tethering works fine on Windows.
dsharma
  • 93
  • 1
  • 2
  • 4
4
votes
6 answers

"Screen sharing" on the command line?

If I am logged in to a remote server, and someone else is logged in to the same server, isn't there some way via the command line to let them "look over my shoulder"? Of course I could copy and paste my terminal scrollback buffer at intervals and…
Wildcard
  • 35,316
  • 26
  • 130
  • 258
4
votes
1 answer

How to create an ad-hoc connection?

I need to make an adhoc connection on Archlinux (netbook used as a wifi repeater), I was using this tutorial to do it on Ubuntu : At the terminal install execute sudo apt-get install dnsmasq-base and then sudo apt-get remove dnsmasq Restart the…
4
votes
1 answer

Debian Wheezy subnet configuration (proxy, MASQUARADing etc.)

I have a "server" with eth1 having a full IP address, DNS, gateway and proxy name connected to the university internet/intranet provider and eth0 IP 192.168.1.2 connected by a gigabit switch with two "nodes" 192.168.1.3 and 192.168.1.4. All three…
OpenMPI_kz
  • 41
  • 3
3
votes
1 answer

Share a VPN connection over WiFi

I've got two computers connected to the same router 10.9.8.1: Computer A 10.9.8.2 runs Windows 10 Insider Preview. Insider Preview has VPN broken and can't be rolled back. :( Computer B 10.9.8.3 runs Linux Mint and has a VPN connection set up via…
3
votes
2 answers

use only one wireless card to connect to wifi network and share internet through wifi at same time

Is it possible to use only one wireless card to connect to other wifi network to access internet and share the internet to other devices via same wireless card at same time ? No! I didn't mean hotspot since it means only sharing internet of other…
Alex Jones
  • 6,223
  • 17
  • 51
  • 83
2
votes
0 answers

Extend existing wifi using unix pc access point (with same SSID)

Context I have a PC running Ubuntu Server and connected to my internet provider’s router using an ethernet connection (and that has a static IP set up in the router's portal). The internet provider’s router provides a native wifi network that is too…
2
votes
1 answer

Is there a way to have an opportunistically shared SSH connection without blocking the local TTY session?

In my ~/.ssh/config, I have the ControlMaster auto setting enabled. It works pretty well for me, but there is one behaviour that irritates me that I’d like to eliminate. Let’s say I have two terminal emulator windows A and B. In window A, I invoke…
user3840170
  • 1,813
  • 5
  • 25
1
2 3 4