You are not logged in.
Hey folks!
I have a HP laptop (HP Pavilion g series) running Arch Linux, and I was wondering, if I could 'stream' or 'cast' it's Bash shell to my other machine running Windows 10; and if I can, what would be the best solution. I know I'm describing a payload, but when researching I just find hacking/penetration guides. Since I'm an administrator and actually owning both of my machines, I'm figuring that there is a better way of setting it up, instead of using backdoor that is.
If there is a way of obtaining this 'controlled' payload, would I be able to login both as the root and a regular user?
Anyway, I hope you can help me!
P.S. if you need more info on my system(s) please tell me in the comments.
- Stochholm
Last edited by Stochholm (2016-03-15 17:39:15)
Offline
Yes, you want to look into Xming on the windows side. A more simplistic solution would a vnc session on the linux box. See the wiki for tigervnc.
Offline
Yes, you want to look into Xming on the windows side. A more simplistic solution would a vnc session on the linux box. See the wiki for tigervnc.
Thanks, I will!
Offline
Welcome to Arch Linux
Normally when I hear of casting, it is displaying the output on another device. Somehow, I get the impression this is not really what you want -- or is it?
Are you really trying to log into your Arch box from another device (Window in the case)? If so, you will want to look at ssh. Set up a server on on the Arch box and connect to it from Windows using a tool such as PuTTY.
Edit: Too slow; different solution
Last edited by ewaller (2016-03-15 15:37:10)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Welcome to Arch Linux
Normally when I hear of casting, it is displaying the output on another device. Somehow, I get the impression this is not really what you want -- or is it?
Are you really trying to log into your Arch box from another device (Window in the case)? If so, you will want to look at ssh. Set up a server on on the Arch box and connect to it from Windows using a tool such as PuTTY.Edit: Too slow; different solution
Your suggestion is definitely what I'm looking for. I just used 'cast' as a general idea, do you have a verb that may describe this post better?
Offline
"Secure Shell" would be my phraseology. To be clear, this provides a means of logging into a computer over a network using a cryptographically secure link. It will not interfere with the session of other users using the system (either at the console or through remote logins). For example, sitting here at $DAYJOB, I have PuTTY running on this ghastly Windows 8 machine with a SSH session back to my machine at home. The really nice part is that, in addition to running a shell, I also run a port forwarding tunnel through the link allowing me to use the home machine as a proxy server for a browser here (disclaimer: All of this is done with the permission of my IT group). You can also use tools such as sftp to perform secure file transfers to and from a server running the ftp server.
Last edited by ewaller (2016-03-15 15:57:12)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
I, too, am confused about what you want to do. ![]()
Install Cygwin on Windows (which is super simple to do). You now have a "Linux environment" in Windows, including a Bash prompt and a package manager for popular Linux software. You can now use the Bash prompt to SSH into your Linux computer (which will need to be running an SSH server) and start Linux applications, which will popup in a window in Windows (see "startxwin").
...Is that what you want to do?
Offline
I read this entirely differently. I thought you wanted to share a shell "screen" so someone on the windows computer could watch what was being done on the linux shell. Perhaps I'm wrong, but there is such an easy and fun way to do this that it is worth sharing anyways: tmux allows multiple users to simultaneously log in to the same session, and each user can have different "modes". If they are both in r/w mode it would be like a google-docs version of a shell as they could both simultaneously type commands and view the results (although without good cooperation this could be extremely annoying). But with one user in read-only mode, they can only watch the commands and results that the other is entering: this is extremely useful for classrooms and seminars - who in their right mind would want to squint to see my terminal commands projected up on a screen in front of a lecture hall: they can see the commands I'm typing and the results they provide right on their own screens (assuming we're all ssh'ed into the same server).
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Thanks for all the suggestions!
I got it working using PuTTY (for Windows) and OpenSSH (for Linux) following these two guides:
Setup and configuration: https://www.youtube.com/watch?v=IAXghz6Ca5U
Securing: https://wiki.archlinux.org/index.php/SSH_keys
I created an OpenSSH server on my Linux machine, encrypted it with RSA/SHA256, and connected to from my Windows machine using PuTTY.
Last edited by Stochholm (2016-03-15 17:38:50)
Offline
Yes, edit the title again and add [SOLVED]. You may need to shorten the title a bit.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Great! ![]()
tmux allows multiple users to simultaneously log in to the same session, and each user can have different "modes". If they are both in r/w mode it would be like a google-docs version of a shell as they could both simultaneously type commands and view the results (although without good cooperation this could be extremely annoying).
That's crazy! Sounds like fun. ![]()
It reminds me of Twitch Installs Arch Linux... which does not sound like fun. ![]()
Offline