God, I had to retype this from scratch, I hit "Back" accidently near the end...
You can use any Pi you want for this, they all work. If you want your Pi to use Wifi, you will need Rasp. Pi 3.
Here are the steps:
1) Follow this guide to install Raspbian onto your SD card. https://www.raspberrypi.org/help/noobs-setup/2/
2) Get your SD card into the Pi. Connect it to your router/wifi network, a display, mouse and keyboard.
3) Go into Raspbian's "Preferences" menu, go to the "Interfaces" tab and enable SSH. If you got a model that has wifi (Pi 3 or Zero W), setup your wifi connection. You may disconnect the display, mouse and keyboard.
4) Go into your routers' DHCP settings and give your Pi an static IP address. This step varies according to which router you are using, search for that.
5) Use an app such as MobaXterm (if you're using Windows) to connect to your pi via SSH. The address is the one you gave in step 4. The default username is "pi" and the default password is "raspberry".
6) Type or paste the following command into the SSH terminal: >curl -sSL https://install.pi-hole.net | bash
Be aware that pasting into Mobaxterm is done by using "Shift+Insert" instead of "Ctrl+V". Follow the setup in your screen, it's pretty simple.
7) Go into your router settings again and set your Pi's static address (from step 4) as your primary DNS server. That way, every device in your network will be filtered by the Pihole, otherwise you have to set up individually.
P.S.: You may access the admin panel by entering your Pi's static address into any browser, as long as the device is connected to your network. The password is generated when you set up the PiHole and it will show it to you near the end.
P.S.2: You can repeat steps 5 and 6 to upgrade Pihole.
I prefer MobaXterm, its a great terminal emulator, and I find the multi-exec feature handy when I have to make a bunch of side by side config changes. The ssh client on it is way superior to pretty much anything and it cludes all good unix tools on windows.
MobaXTerm just added customizable syntax highlighting in version 10 which should get you where you want to be with a few minutes work. The free version is pretty limited but it has been worth buying for me with a built in SCP client and some other interesting features.
Of all of the terminals I've tried in Windows, MobaXTerm is the one that I was the least unhappy with.
It has X11 built in (not that I use it). Sftp. Transparency. Tabs. All those goodies.
Definitely worth a shot if Putty, kitty, etc don't match up to your normal "linux/mac terminal" standards.
I think it's the only one that supports mosh, too.
This has been invaluable to me: http://portableapps.com/
So has this: http://mobaxterm.mobatek.net/
And of course as others have stated a recent Linux LiveCD or USB key to boot into and recover files, correct Windows, etc... I prefer Linux Mint but to each their own.
MobaXTerm is incredible and is built around Putty, has tabbed sesisons, and adds a ton of useful unix tools to Windows. How many times have you wanted to grep something pre-Powershell? Oh and the recent patch added Powershell support too.
Sometimes I wonder how it flies under the radar when it packs so much into one portable package.
I'm just getting started with python and RasPi, so i'm no expert.
But do you have X11 port forwarding enabled in putty and an working X server on your computer ?
Maybe using something else than putty will help, maybe try this?
I recently was introduced to MobaXterm. It's a terminal with a cygwin environment bundle for windoze with xserver builtin and setup.
If you pony up for the pro feature set you can get as close to a *nix box as you want while still running windows.
Documentation for its feature set sucks is my only complaint.
I prefer mobaxterm since it has better support for SSH connections, but remote desktop manager has a ton more features for windows based systems.
Try using MobaXterm to SSH into the Pi. Moba has sftp and a built in editor that makes it easy. You can also configure it to use an editor of your choice (like Notebook++, etc) .
Putty is really very good, but once in a while having a local X server running (to tunnel apps over that SSH link) is very handy, and for that a Linux VM is really the best bet. If I had to work out of Windows, I think something like MobaXterm/Cygwin etc would be a must.
I can't speak to the specific issue, but I'll make a shout out for MobaXterm. It's awesome and I like it way better than Putty. You can have multiple terminals open and arranged side by side or in a square pattern, built in FTP client, all around awesome.
Compared to moba, putty is like eating a bread sandwich.
While you're playing around in Linux shells, try out Tmux, for a persistent session that you can reconnect to.
If you just use SSH, then this doesn't seem like a huge issue to me. Just find a good Windows SSH client. Check out MobaXTerm, from my understanding it's pretty popular, cannot be beaten. Or use Putty.
If you want a whole new dev environment just use a VM like others suggest to install your preferred OS.
You might be able to with tools like mobaXterm or other 'more advanced' ssh clients for Windows.
edit:
In fact it can, drag n drop, check out the ssh demo on their site.
I'm adding another vote for mRemoteNG, especially if you need any other type of remoting (RDP, VNC, etc). It's really customizable and works pretty well.
I have been looking into MobaXterm, but I'm not ready to fork over the money for it quite yet. The free version may work for you if you want an alternative to mRemote.
I use MobaXterm - just connect SSH to the RPi and a file browser displays immediately. You can edit your code just by navigating to it in the file explorer and double clicking to open it into it's built-in editor. You then save and it gets directly updated on to the RPi again. You can also drag/drop files to/from it.
You can also do remote XTerm stuff.
http://mobaxterm.mobatek.net/
I use Cygwin daily for work - a lot of what I do is remote, so our Windows workstations are a good candidate for it. I do not typically use the Cygwin X server directly, though.
I have my Cygwin install, and run xterm primarily. I use the Xming server, and put it in my Startup folder so it's always running. It looks like you can use it stand-alone with PuTTY without even needing Cygwin, but I haven't tried it that way.
Another thing to try if you want to give it a spin without installing a bunch of stuff is to try MobaXterm. It's stand-alone, so you can run it from a USB drive or a directory on a Windows box without installing. I don't much care for the interface, nor having to pay to customize it, but it'll give you an idea if X works for your needs.
If you like having the standard unix tools at your disposal like ssh, scp, find, grep sed, etc... All wrapped up in a slick single executable with a nice skin on it checkout:
MobaXTerm - ( http://mobaxterm.mobatek.net ). Ein Terminal-Emulator für Windows mit allen Features die man je brauchts. Ob RDC, VNC, SSH, SFTP, FTP, Telnet und XServer, es ist wirklich alles integriert. Wer bisher Putty benutzt hat, dürfte hier die eierlegende Wollmilchsau erleben.
Eine etwas eingeschränkte Version ist für den Privatanwender kostenfrei, Vollversion (glaube ich) 60 Euro.
I can recommend MobaXterm, it's got a bunch of various networking tools for windows. It even includes a linux-like command line and a bunch of programs you'd normally find on a Linux distro.
Actually, you'll be set with just the Pi Zero W, a micro SD card and a charger. Since the Zero W has wifi, you edit some config files to let the Pi connect automatically to your wifi. Now you can ssh into your pi and code away!
Can you try connecting to the remote ubuntu machine using mobaxterm instead of putty and launching emacs? mobaxterm has a builtin X server and might work for you.
or you could use nomachine as suggested in the other comments.
I second tmux. also on my windows drive i use a program called mobaxterm which is basically tmux + sftp/scp. Windows home version can be found here.
Secure Shell, it's used to make secure connections to remote systems usually through a command line interface. I use MobaXterm to connect to a CentOS high performance computer cluster where all my files and programs are stored.
Can't you use root's login details with your SFTP editor?
Another alternative is to use a SSH client with X11 forwarding and run a graphical text editor on the server. This is one I found; http://mobaxterm.mobatek.net/ but I haven't tried it.
> If your SSH client is on a Windows system, the problem might be harder to analyze.
Not necessarily, just look at the SSHD logs on the Pi (may have to enable/increase debug level).
For Windows, I really like MobaXterm, which is free for personal use. It's a standalone terminal client wrapped around Cygwin, and will do fancy stuff like Mosh, built-in X client, etc.
Since I see a lot of other programs being thrown around: I stare at ASA configs and I've taken a liking to the Cisco syntax highlighting in MobaXterm; before that I used MTPutty and it was nicer than normal putty/kitty, but not as good as Moba, plus I use screen most of the time anyway.
Blah blah blah, it's free too if you don't mind a couple of odd annoyances.
Yes, Kitty. Also try MobaXterm for multiple tabbed SSH sessions. MobaXterm has a lot of commands also that people download Cygwin for. Basically each tabbed session opens a bash shell. It is really amazing software.
Been hooked on XShell (https://www.netsarang.com/products/xsh_screenshot.html) for this type of stuff, bookmarks, tabs, XFTP (for SCP transfers).
The other one I've tried and liked is MobaXTerm (http://mobaxterm.mobatek.net/)
Others are already helping you so i won't repeat them, but since you are using windows on your own pc i'd really recommend using MobaXterm instead of putty, you only need the free home version.
It allows multiple tabs for terminals, saving connections as bookmarks and password remembering for logins, built in ftp client and text editor. Makes admin work a lot quicker and easier.
Cygwin is built into MobaXterm.
Much easier to set up, and you get a killer communications package to boot. Plus, it's free. :)
I don't think there is as much functionality as you can set up with Cygwin though, so YMMV.
MobiXterm is option as well.
ssh + the ability to run remote apps on the current desktop, or start up an Xserver window for the remote apps.
I've been using it happily for a few months.
It's pretty simple! Once you spin up a droplet with linux on it, you can get a SSH tool and ssh into it, copy and paste your script into it, save it, then do python filename and it will run the script! If you're on windows I suggest MobaXterm Personal Edition as the ssh client
I'm just wildly guessing here. SSH is clearly not the problem (at least directly). I'd say it is the network connection set up by VirtualBox that doesn't play nice with Windows (or the other way around).
To work around connection drops, you could use Mosh. A windows client that supports Mosh is MobaXterm.
Mosh is an SSH replacement that allows for roaming. You could put your computer in standby and the connection would still be there when it wakes up. Mosh still uses SSH for authentication and doesn't need an extra server to run on the Homestead box. You just need to have mosh available there (sudo apt-get install mosh).
I recently found a PuTTY replacement on Windows, which offers a lot of other tools than solely SSH, MobaXterm. It's a wonderful solution for doing SSH as it will also display SFTP directories of your current SSH directory. And I found it easier to organize saved sessions. They have a free version, a bit limited IMO, so I had my boss buy it for me =P
Other than that, learning how to do things in Linux isn't a terrible skill to have, however booting into Ubuntu (or running it virtualized) is a little overkill for using an SSH client.
I noticed a lot of people here do some sort of software development, so my favorite graphical SSH client (and more) is MobaXterm. In my university's CSE department, the saying is that "MobaXterm is God. MobaXterm is life."
I've been a pretty big fan of MobaXTerm, especially since it was a breeze to search through a few hundred machines (and jump through the right ssh gateway):
Honestly though I ended up biting the bullet recently and putting Fedora on my work laptop. Windows wasn't worth the hassle.
Putty is ok, as long as you do not have many servers you want to sit on at the same time. This is much better: http://mobaxterm.mobatek.net/ -MobaXterm. With built in Xserver, tabs, and ftp/scp client.
I love working with MobaXterm ( http://mobaxterm.mobatek.net ): in a rather small executable file, it brings SSH, public keys, X11-Forwarding, multi-tabs, graphical SFTP browser, and many other Linux commands in Windows environment.
MobaXterm is really the toolbox every SysAdmin and developer should have in his USB key.
The option to try powershell may be the best one; if you're using Windows, learn the Windows way ; however, if you want to do bash, MobaXterm is really cool; it is just one executable, includes bash (and XWindows for later :).