Tag Info

Hot answers tagged

5

You can use the screen utility to do keep the session running even after you detach and then you can re-attach to the session. It’s available for Mac OS X, I believe. More information can be found at howtogeek and rackaid tutorials. Edit: Since screen is not what the OP is looking for, Mobile Shell (mosh) would fit the use case perfectly. (This is also ...


2

No you can't do that. There should be something running on B that serves the clients. If the issue is only allowing connection after an initial SSH connection, you can set up a reverse SSH tunnel over the first SSH connection and open new SSH connection over the tunnel. But you still need to run SSH server on B.


1

If machine B has a telnet server running, you can use the ssh connection from B to A to forward the telnet port so that machine A can connect to it even if direct access to the port is blocked by a firewall (as it should be). Assuming telnet is listening on the default port (23) on machine B, you'd do something like ssh -R 23:localhost:2023 A. A user on A ...


1

Linux to Windows An X11 application uses an X Server to display the app's Graphical User Interface (GUI). Microsoft Windows does not come with an X Server out of the box so it can't display them BUT you can install an X Server application that will allow for that and there are free ones you can download and install. Windows to Linux Going the other ...


1

How are these two Macintosh computers connected? Via a router? The way hostnames like macbookpro.local work is they are broadcast on the network via Bonjour which is simply Apple’s fancy name for broadcast/multicast network services: Bonjour, also known as zero-configuration networking, enables automatic discovery of devices and services on a local ...


1

To connect to ssh you need to connect to port 22 on target server. To do so you need: Ensure that ssh server (openssh-server) is installed and running on Fedora machine. Find out your target machine external IP address (for example, run curl 'http://icanhazip.com' or open that URL in a browser). Find out your target server local IP address (for example, ...


1

I've not tried it - indeed I don't own a Mac, but I've bumped into this type of problem before over a WAN, and the solution could work for you - Set up a VPN between your Mac and your server - in this way the VPN can reconnect and give you the same VPN address - provided you manage to route your SSH session through the VPN tunnel, the keep-alives built in to ...


1

You need something as mosh. It requires both server and client side components, but it works for mobile (roaming) devices. Screen and tmux may help you continue your work after reconnecting, but mosh keeps you connected/reconnecting. In my experience it also is helpful wen your router has a dynamic IP address.


1

In Debian-based OSes, the package manager will create a file, /var/run/reboot-required, if a patch requires a reboot. This file is deleted when the machine is restarted. See this AskUbuntu post for more information about how to determine which package required a reboot. To get the same functionality in yum, it appears that you need to install a third-party ...


1

Unfortunately, there is no other way to change your own password without having the current password in the first place. This would have to be done with elevated permissions. But since you don't have them anymore, or cannot get these through sudo, a last resort would be to boot into recovery mode and login as the root user. Although I don't think that would ...


1

Install Openssh then sudo (https://github.com/droboports/sudo) login using ssh with the Admin account. Then go to /mnt/DroboFS/Shares/DroboApps/sudo/bin run ./sudo su - You are the root and can change the root passwdord back to something you can remember. To stay secure, you can remove sudo after that.


1

Ok... This question is very old. Yet I can think of a way that will help in these kind of scenarios. Using wildcard(*) and %h parameters here. Let's assume Amazon's IP as 10.10.20.* and Rackspace IP as 20.20.10.*. The following config will help: Host 10.10.20.* Hostname %h User root IdentityFile ~/.ssh/aws.pem Host 20.20.10.* Hostname %h ...



Only top voted, non community-wiki answers of a minimum length are eligible