Hot answers tagged

29

Explorer runs on a per-user basis. Can you log in under a different account that isn't already logged in? Edit: Also, if your remote desktop session is still active, CTRL + ALT + END should have the same effect as a CTRL + ALT + DEL on the remote system. That might get you the Task Manager up, in which case you can kill/restart explorer.exe as required.


25

The best way to do this is using screen, which keeps the session open in a persistent way even if the connection dies (and if you want to start using it again you can do a screen -r and it will open it up again). Prefixing whatever command you want to run with screen (eg. ssh -t user@host screen command) should do the job. If you want it to run in the ...


24

Reboot now: shutdown /r /m \\computername /t 0 Shutdown now: shutdown /s /m \\computername /t 0 In both examples, change the 0 to a number of seconds to delay if desired. Plenty of other options you can get from: shutdown /?


22

Try Mosh. Mosh (mobile shell) Remote terminal application that allows roaming, supports intermittent connectivity, and provides intelligent local echo and line editing of user keystrokes. Mosh is a replacement for SSH. It's more robust and responsive, especially over Wi-Fi, cellular, and long-distance links. Mosh is free software, available ...


20

I have used pssh and it's easy and works quite well. It's really great for quick queries. If you find yourself managing servers I'd suggest something more robust and in a slightly different realm (configuration management) such as Puppet or CFEngine.


14

You can restrict commands using the authorized_keys file. Put command="/home/rpcall/bin/command.sh" before the key, in the authorized_keys file, and the user will only ever run that command when they connect. Check the man page for authorized_keys, this is from that man page, command="command" Specifies that the command is executed whenever this ...


13

It sounds like your firewall / router device doesn't support "NAT hairpin". When the users attempt to access the RDP server while on the LAN the server's name is being resolved, by DNS, to the external-side IP address of your firewall. The PC's RDP connection attempt is being sent to the firewall which isn't routing it back to the server on the LAN. The ...


11

The best practice for remotely installing any OS is to buy server hardware with out of band management (HP ilo, Dell drac) that lets you remotely power cycle and see the console of a server. Don't even try otherwise.


11

Are you looking to have a persistent session that you can resume, or just to stop a disconnect from killing the exection? For the former, use screen, for the latter, nohup.


10

You might also want to checkout Mark Russinovich's PsShutdown utility. It's similar to the native Windows shutdown command, but also allows you to logoff the console user or lock the console.


10

This problem can be solved with rsync. At least this solution should be competitive in terms of performance. First, rsync can be called from one of the remote systems to overcome the limitation in the inability to copy between two remote systems directly. Second, encryption/decryption can be avoided by running rsync in Daemon Access mode instead of Remote ...


9

If your server has a serial port you can connect through it easily enough. Let us assume the simplest case; 1 server and a cart pc or laptop. Add an entry to your /etc/inittab file similar to: s0:12345:respawn:/sbin/agetty 19200 ttyS0 vt100 That will tell the server to listen on ttyS0, the first serial port, for terminal like behavior. Plug a cable ...


9

The CentOS installer (anaconda) that ships with the PXE images includes a VNC server, so you can alter your grub config to boot the CentOS installer, passing the answers to the pre-stage 2 installer questions on the grub line, reboot and then VNC to the installer. Now, if my memory serves me correctly, from within that installer you should be able to drop ...


9

The least-overhad solution would be using netcat: destination$ nc -l -p 12345 > /path/destinationfile source$ cat /path/sourcfile | nc desti.nation.ip.address 12345 (some netcat version do not need the "-p" flag for port) All this does is send the unencrypted data, unauthenticated over the network from one pc to the other. Of course it is not the most ...


9

an alternative (and also in addition) to dmourati answer: use screen or tmux or other things, to keep sessions alive when you are disconnected. (You simply re-attach to the session after you reconnect, and see the terminal as you left it, even with full screen programs [vi, etc]). It also have many other benefits (sharing sessions with co-workers, etc) (as ...


8

Yugma is a free alternative that I've used before. With priced options there is WebEx GoToMeeting Yugma Pro


8

I'm assuming you're doing this from a Windows machine to Windows machines. I'd do something quick and dirty like: Machines.TXT COMPUTERNAME-1 COMPUTERNAME-2 COMPUTERNAME-3 Scan-Machines.cmd @echo off if "%1"=="" goto all echo Scanning %~1 dir "\\%~1\c$" /s /a /b > "%~1.txt" goto end :all for /f "delims=" %%i in (Machines.TXT) do call %0 "%%i" :end ...


8

The IP address your ISP gave you is the one your company will see, and the one they will need to configure. Because you are running a NAT router, any of the computers sharing that IP address will be able to connect. If you don't know your public IP address, you can visit whatismyip.com and suffer their advertising, or you can ask Wolfram|Alpha the ...


8

I believe it is port TCP/139. Check out this KB article for reference.


8

I like Nagios and Cacti, which I use for both Windows and Linux. There's a ton of tools out there. Some of which are better suited for special purposes too, such as NMIS for types of network monitoring. Check out the comparison of monitoring software, which is a rather comprehensive list. There's a variety of methods of monitoring that can be applied to ...


8

I agree with the sentiment of the other answers here: Although it may be possible to install Ubuntu remotely on RHEL 3.4, you are likely going to be treading on some very thin ice. I think the biggest problem you may have is the age of the kernel and libc on the existing system. Is that a 2.4.x-series kernel? If so, I'm not sure you'll be able to pull this ...


8

Is it possible? Yes, it's certainly possible, and in a way in which you'd never know he could see you. But it's got nothing to do with RDP or your VPS specifically, just your desktop, it'd be the same for your browsing/Excel etc. If he wants to see it the technology is there yes. It would also be very easy for him to stop you RDPing to it too. The ...


8

CTRL+SHIFT+ESC is a keyboard shortcut for launching the Task Manager. It has "File->New Task..." which is basically a Run dialog that you'd normally get with WINKEY+R, which you can use to restart Explorer by entering "explorer" or "explorer.exe". I have used this shortcut numerous times when explorer has crashed and not restarted. This shortcut is handy ...


8

From Forwarding to More than One Server; What is important to know, however, is that the full set of directives make up an action. So you can not simply add (just) a second forwarding rule, but need to duplicate the rule configuration as well. Be careful that you use different queue file names for the second action, else you will mess up your system. ...


7

What problems are you having with PSExec and W2k3 exactly? We use the two together extensively, in a 500+ W2k3 server environment... In fact, the whole PSTools suite rocks my world. EDIT: This is a followup to your edit of the original ticket. The problem you're encountering is that "copy" is a function of CMD.exe. It doesn't exist as its own ...


7

PSTools PSExec can do exactly that! :) http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx


7

No, I don't think you can do that. But why not creating a key? Create a key with ssh-keygen (without password) and copy the public part to your remote host and add it to ~/.ssh/authorized_keys. Keep in mind that anyone getting your private key will be able to any host where you added the public key to ~/.ssh/authorized_keys . So always keep your private ...


7

systemsetup -setremotelogin on I got this from the templates in Apple Remote Desktop.


7

Solving this the way you describe is more a management/policy issue than an IT issue. As the problematic machines are outside of your sphere of control there's not an easy tech solution for that. A few suggestions though of things you can do: Have any person who has access to your VPN/remote servers/etc sign something stating they have taken adequate ...


7

As mentioned early, screen can do all the trick. But not only what you need. I've use screen for the years and now use it every time I've login into systems. Try to install screen and create ~/.screenrc with such config: sessionname vcflists startup_message off deflogin off vbell off msgminwait 0 msgwait 10 log ...



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