Cygwin Terminal: FTP Connection (Password Input doesn't end) [closed] - shell

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I'm using Cygwin shell to try to establish a TCP connection with a specific IP address.
After typing "ftp 'the ip address'"
I get prompted for the username/password.
When I enter the username and press enter, it prompts me for the password (as I expected).
However, when I input the password and press enter, it just jumps to the next line and acts as if the buffer is still waiting for more input. It keeps doing this, leading me to have to use Ctrl-C to get out of it.
Anyone know any possible issues? This is for a school project. One of the TA's says this is "expected behavior" ... however, I couldn't find anything on the internet about this issue.

You're probably running the ftp command that comes with Windows, which doesn't work correctly in a Cygwin terminal. You can install the inetutils package to get Cygwin's own ftp client.

Related

cmd refuses all commands [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
With W7x64, all commands ("mkdir", "ping", "ipconfig", or the installed "composer") grant an "access refused" error.
I shut down firewall (Comodo), disabled UAC, launched cmd as administrator, created a brand new administrator session, checked and altered owning permissions (setting them to my account), and, of course, restarted the damn machine.
Last piece of information, but I don't think it has any relevance : system is on SSD.
Edit : Here is a screen shot:
I can't figure what happened to my command line, but installing an alternative (I choose conemu) makes things returning to their old self again.

How to reset the admin password for Ubuntu on Windows [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I have Bash Ubuntu on Windows 10. This is enabled by turning on the Developer mode feature so the normal non-programmer would likely not need this. I need to reset the password. I must have typed it wrong (twice, somehow) when I first set it up. How can I do that?
This has been answered HERE
Copying from their answer:
In Windows command prompt change the default user to root:
lxrun /setdefaultuser root
Now Bash on Ubuntu on Windows logs you in as root without asking password
Use passwd command in Bash to change the user password:
passwd your_username
Change the default user back to your normal user in Windows command prompt
lxrun /setdefaultuser your_username

Cygwin sshd use cmd instead of bash upon login via PuTTY [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I've finally got to the point where I can successfully SSH into my server, but commands like 'rake' and 'bundle' don't work! I'd rather be taken to cmd than bash upon login. Is there a command I can put into PuTTY's "Remote Command" box so that cmd gets loaded? I tried "-c cmd" but it just closes upon a successful connection. If I leave it out and just type 'cmd' when the bash prompt is ready it works ok. Also another thing of note is that user environment variables in Windows don't get transferred to the SSH session (like GIT_SSH).
Nothing was working, but I came across something which sort of made sense when browsing the passwd file for another problem I was having. The last part of the line indicates what is executed upon login. Originally it was /bin/bash, so I changed it to the cmd executable and it works now.
ex)
Administrator:unused:[SID-STUFF]:U-POS-SERVER\Administrator,[SID-HERE]:/cygdrive/c/Users/Administrator:/cygdrive/c/windows/system32/cmd

Wireshark not opening in x11 terminal [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
Hello i am using MAC Mavericks system.i have installed wireshark .dmg and x11 .dmg(xquartz) .But when i try to open wireshark in Xterm ,using the command
bash-3.2$ open/Applications/Wireshark.app/
i get the following error message.
bash: open/Applications/Wireshark.app/: No such file or directory.
Actually i can see a blue icon called wireshark in my applications folder,but i get the above error message instead of the wireshark program.
Am i missing something?Please give some suggestions on installation of Wireshark on MAC Mavericks?
I am a newbie in wireshark.please help me .
As Dagg Nabbit said, place a space after open; the command to open a file from the command line is
open {file}
so, to open /Applications/Wireshark.app, do
open /Applications/Wireshark.app

VPN IP Bind Option for OSX? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
This is an OSX specific question. I have been googling my a$$ off, looking at OpenVPN clients like tunnelblick and viscosity. Obviously I'd like to use tunnelblick, but I have no problem paying a couple bucks for viscosity if I must.
Question: Do either tunnelblick or Viscosity (or any OpenVPN gui for OSX) provide the option for ip binding? Or whatever you call the option that, when my connection to my VPN is down, I am disconnected from the internet completely?
(From what I can tell tunnelblick will alert you that your connection is down. Viscosity I know nothing about.)
I assume that you're setup to "send all traffic over vpn" (redirect-gateway def1)
If so, when you disconnect, all routes related to OpenVpn should be automatically deleted, so that your prior network is restored (net_gateway)
However if you want to Block Internet Access after OpenVpn disconnects, there are several options.
One way is to route default to your vpn_gateway (ie 10.80.0.25 in the below example)
sudo route add default 10.80.0.25
This can be done with a down script or through Viscosity's GUI.
Other approaches to solve this problem can be found here

Resources