Tag Info

New answers tagged

0

I noticed in the debug output that there is mention of port '22' even though I specified '2222'. It like you need to put a '-p' flag in when using terminal: ssh -p 2222 myname@xx.xx.xx.xx This seems a bit weird as with other terminals I was using: ssh myname@xx.xx.xx.xx:2222


0

If you disable your LAN device, you won't be able to log on SSH again. If you need just to disable internet access for this machine, you could remove the default gateway with: sudo route delete default and add with sudo route add default GATEWAY_IP.


0

Try Secure Pipes: http://www.opoet.com It's free software and I'm looking to get more people using it. Thanks!


0

As a work around, you can drag the tab you want to keep to a different window, then close the first window with the extraneous tabs and they are all gone with one click.


0

As is mentioned in the question comments, this is not possible in iTerm 2. It is possible in the built-in Terminal.app, but that was not the question. While this isn't an optimal solution, a script has been written to implement this in iTerm. I did not write the script nor have I tested it, so I cannot verify the effectiveness of this solution. You may be ...


0

You can use ControlPlane for this. It allows you to control your context, like home and other, and set actions for it: when 'enter' home context, enable file sharing, when 'leave' home context, disable file sharing.


1

Something that finally worked for me was this : Removed the rsa_id.pub file and regenerated a new one (must be in ~/.ssh/): ssh-keygen -y -f id_rsa > id_rsa.pub Ensured permissions were set to 0644 for both id_rsa and id_rsa.pub (must be in ~/.ssh/): chmod 644 id_rsa* Ran the following command: ssh-add -K After doing this, I was no longer ...


1

There's not really an easy method for this. There's no AppleScript implementation for interactions on iOS, unlike OS X, so if you really want this you're probably going to have to make it happen yourself with your own custom app. Even with your own app, there's no easy way of doing interaction. On Cocoa Senior (also known as "the Mac") we have methods ...


0

You can't run GUI apps by running the binary like that. Install open from Cydia, then use open bundleid: <key>ProgramArguments</key> <array> <string>open</string> <string>com.app.bundleid</string> </array>


2

You can use AppleScript on the Terminal: osascript -e 'tell application "System Events" to keystroke "r" using {control down, shift down}'


1

The answer is : ssh -b bind_address_of_wifi_ip ......


0

I made a function inside my ~/.bash_profile, like so: # ~/.bash_profile # wrap ssh so computer doesn't go to sleep ssh() { echo "caffeinating ssh session..." LC_CTYPE= # fix issue with UTF8 on server caffeinate -i ssh "$@" } Now when I use my "common" the ssh command it get wrapped in caffeinate therefore keeps the system from going to sleep. ...



Top 50 recent answers are included