gedit text editor - mac os x - macos

Does anybody know if you can setup remote connections in gedit(on mac os x snow leopard), so I don't have to keep ftp'ing up seperately.
I know it can be done on Ubuntu but can't figure out how to do it on a mac, if even possible.

An application independent solution for this would be sshfs on OSX through MacFUSE. sshfs is also available for Linux.

This sshfs with a GUI is also available via MacPorts.
There is also a possibility of automatic upload after each file save in Transmit and in Cyberduck (FTP programs).

Related

mac osx 10.4.11 with x11 1.1.3 (XFree86 4.4.0) - is this compatible to do X-forwarding from Mac OS 10.13.6?

This is a long story.
I use an old OSX 10.4.11 machine (Power PC) as a web server. Very low use.
It runs X11 at 1.1.3 (XFree86 4.4.0).
For several years I used X-forwarding to show log traffic on a newer Mac Intel machine (Mac mini). At some point after about 2006 this just stopped working. I have never tried to upgrade the 10.4.11 machine as it met and continues to meet my needs for a low cost Web server.
Meantime XQuartz has come and been through several new versions, as has MacOS. Currently I have MacOS 10.13.6 and XQuartz 2.7.11 on the Mac Mini. I am revisiting why the long-defunct X-forwarding sessions to OSX 10.4.11 stopped working.
I find I can do X-forwarding fine from my Linux 18.04 box, which was a surprise. I have spent a lot of time trying various approaches to resolving the issue. It occurs to me that the 10.4.11 setup may just be too old, and therefore incompatible. Hence my question: "mac osx 10.4.11 with x11 1.1.3 (XFree86 4.4.0) - is this compatible to do X-forwarding from Mac OS 10.13.6?".
Any comments will be much appreciated.
I am answering my own question.
I spent several days looking at logs from ssh -v -X user#hostname, with -vv and -vvv for more log info. I also tried the ssh -Y variants of that command.
Reading extensively from stackexchange and elsewhere, I restored and re-edited the ssh_config and sshd_config files on both server and client hosts several times, and coded shell scripts to restart sshd.
The insurmountable problem was that $DISPLAY was not being set up correctly on the client. This is what led to my question.
The only way I could get X-forwarding to work with my OSX 10.4.11 PPC client was:
1) ssh -f user#hostname /usr/X11R6/bin/xterm
then
2) run my local commands on the client from that window (nsu and nsu-go).
I also had to add the correct path to all my commands, including /usr/X11R6/bin for xterm as above, and ~/bin to my commands on the client.
The package I was working with was https://sourceforge.net/projects/nsu/ where detail changes are required.

MacOS High Sierra and X11 forwarding

All,
I do have linux servers which do not have GUI installed and sometimes I just need to use graphical applications, such as installers. So the option is to use X11 forwarding. My question is how X11 forwarding is used with MacOS High Sierra today. What options or applications you do use? On windows I would probably use Xming or similar but are such server also available on MacOS? I know about XQuartz, but I'm reluctant to install it.
XQuartz is standard. It used to come bundled with the OS, but Apple removed it back around Mavericks. It generally works great.
You want to use:
ssh -Y [remote_server]
and you may have to add to your $HOME/.ssh/config file:
Host [remote_server]
ForwardX11 yes
ForwardX11Trusted yes

Mac OS X 10.10 disable USB ports

Can anyone tell me how to disable all usb-ports on OSX 10.10 (Yosemite)?
We've got a large number of iMacs setup, where we don't want the user to be able to control/use USB ports.
In previous OSX versions, the command was
cd /System/Library/Extensions
mv IOUSBMassStorageClass.kext/ IOUSBMassStorageClass.kext.bup
But this no longer works under Yosemite?
Eventually found a solution, i now use
cd /System/Library/Extensions/
sudo kextunload IOUSBMassStorageClass.kext
and after that all usbs are disabled.

Is there any alternative to bmtoa on Mac OS

I have an old Unix shell script that requires the use of bmtoa but I am unable to find it on Mac, and there isn't much on how to install it. Is there any way to get it supported on Mac?
bmtoa is an X11 tool, and is installed as part of the XQuartz package.

Share folder & files from Ubuntu host to VM ware workstation mac os x lion

I am trying to share files from ubuntu host to the mac os x lion mounted in my VMware workstation 8. I have enabled file sharing in the vmware options settings. I have also enables file sharing in the mac os x. Still I cannot see any sign of mount or where to go and access the files available in ubuntu.
Detailed explanation of how to do it will be much appreciated :) Thanks.

Resources