I'm on Win10 / VS2015 update 3 enterprise. I want to connect to my MacBook pro (installed xamarin on that as well),
but my VS keep telling me : 'Unable to generate SSH keys for the user.' Download Sierra For Mac
What i've done up to now:
Jan 20, 2011 SSH (or Secure Shell) is a great service to enable on your Mac at home or work. This useful tool not only enables the ability to remotely access the command line interface of your Mac, but also to. Apr 28, 2017 By the way if you want to allow someone else to remotely SSH into YOUR Mac, you’d need to setup the native SSH server on your Mac (easy as described here) and then you’d want to add a new user account to the Mac for that person, never share your own login and password with anyone else. Keep in mind if you give someone SSH access to your Mac with an admin account, you are giving them.
It seems, that the path with the directory 'RaveAce 1' is invalid without ' and xamarin for VS cant put it into 's.
PLease help me solve this issue.
My logs:
Xamarin.VisualStudio.IOS.Messaging.State.DisconnectedState Information: 0 : [2016-07-03 19:08:22.6197] Disconnected from Mac MacBook-Pro-of-RaveAce.local (192.168.1.116)
Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Error: 0 : [2016-07-03 19:08:22.7784] Unable to generate SSH keys for the user. Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Information: 0 : [2016-07-03 19:15:16.5885] MacServer State transition from DisconnectedState to SshConnectingState on MacBook-Pro-of-RaveAce.local (192.168.1.116) Xamarin.Messaging.Client.Ssh.SshCommandRunner Warning: 0 : [2016-07-03 19:15:21.9021] Failed to execute 'ssh-keygen -b 2048 -t rsa -f /Users/RaveAce 1/Library/Caches/Xamarin/XMA/Keys/2e4e4dfb-9cee-4295-82df-1f56af36ff78 -q -N 'c74e03cf-fcbf-48a8-a7c5-8b33f0d94504': ExitStatus=1 Xamarin.Messaging.Client.Ssh.SshCommandRunner Information: 0 : [2016-07-03 19:15:22.0656] MacServer State transition from SshConnectingState to DisconnectedState on MacBook-Pro-of-RaveAce.local (192.168.1.116) Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Warning: 0 : [2016-07-03 19:15:22.2277] Too many arguments. usage: ssh-keygen [-q] [-b bits] [-t dsa | ecdsa | ed25519 | rsa | rsa1] [-N new_passphrase] [-C comment] [-f output_keyfile] ssh-keygen -p [-P old_passphrase] [-N new_passphrase] [-f keyfile] ssh-keygen -i [-m key_format] [-f input_keyfile] ssh-keygen -e [-m key_format] [-f input_keyfile] ssh-keygen -y [-f input_keyfile] ssh-keygen -c [-P passphrase] [-C comment] [-f keyfile] ssh-keygen -l [-v] [-E fingerprint_hash] [-f input_keyfile] ssh-keygen -B [-f input_keyfile] ssh-keygen -D pkcs11 ssh-keygen -F hostname [-f known_hosts_file] [-l] ssh-keygen -H [-f known_hosts_file] ssh-keygen -R hostname [-f known_hosts_file] ssh-keygen -r hostname [-f input_keyfile] [-g] ssh-keygen -G output_file [-v] [-b bits] [-M memory] [-S start_point] ssh-keygen -T output_file -f input_file [-v] [-a rounds] [-J num_lines] [-j start_line] [-K checkpt] [-W generator] ssh-keygen -s ca_key -I certificate_identity [-h] [-n principals] [-O option] [-V validity_interval] [-z serial_number] file ... ssh-keygen -L [-f input_keyfile] ssh-keygen -A ssh-keygen -k -f krl_file [-u] [-s ca_public] [-z version_number] file ... ssh-keygen -Q -f krl_file file ...
Xamarin.VisualStudio.IOS.Messaging.State.DisconnectedState Information: 0 : [2016-07-03 19:15:22.5989] Disconnected from Mac MacBook-Pro-of-RaveAce.local (192.168.1.116)
Xamarin.VisualStudio.IOS.Messaging.State.ServerStateContext Error: 0 : [2016-07-03 19:15:22.7580] Unable to generate SSH keys for the user. Terminal
Hey
I use SSH a lot, it stands for Secure Shell and its main purpose is to connect to other computers, or servers, over a secure connection which you can use to manage the remote computer. For a general overview I recommend reading this Wikipedia article. For this article you do need to be a little tech savvy with Terminal, but if you are way from your computer, or you want to manage another computer this is a very useful technique.
Can't Ssh With Sierra For Mac Download
The first step, which you must do, is enable this process in your Firewall. Took me ages to work out while I couldn’t do this on my own Mac. Go to System Preferences > Sharing and check Remote Login. This will open port 22 on your computer and allow SSH to be active.
This should be done on the computer you want to log into. For the purpose of this tutorial you can do it on your own computer, remember to switch it off when you have finished for security purposes. Under the Green icon there will be an address. This combines your ISP Internet address, which is given to you by your ISP, in my case it is part of my Uni address, this will be unique to you. For example it will be a unique identifier, such as a MAC address or account name, on your ISP network, it will then be preceded by your ISP web address. For the most part you don’t need to understand how this address is built. You just need to know what it is. The first part of the address is the user name, for the purpose of most maintenance a normal account will suffice, if you want to do some really high level stuff an administrators account can be used.
You can now log into the remote (or your Mac). Open terminal and type:
This will start the connection process. If it immediately says connection refused make sure you have enabled SSH as mentioned above. If it says couldn’t connect on port XXX, add the following.
shh -p22 [email protected]
This will force your SSH connection to run on port 22, instead of a different port. If you, or someone else, has used SSH before it may have been bound to a different port. This will correct this problem.
The first login will ask you to accept and RSA key. This is a method to make sure the two computer are who they say they are. Since you know this accept the key by typing yes and hitting return. This is a security method to keep the connection secure, more information about this process can be found here.
The very final step is to type the password which belongs to the user name. This is the remote Mac’s login password, not your own, my friend who I tried to teach this concept too, didn’t grasp this step for a long while and confusion ensured. Once you have done this, the connection will be secured and you can happily run commands on their computer.
At this point you can run any Terminal command, which is useful to sort out problems with file and folder errors and problems relating to settings. You can also use it to monitor the health of the remote computer by running a process such as ‘top’. The Terminal window, at this point, is exactly the same as one you would use on your own computer. It just happens that the result run on a different computer and are forwarded to you.
When you have finished your session, type exit and the SSH session will finish.
Although this is a tech savvy process and solutions such as screen sharing are more useful to people who do not know how to use Terminal, it is a great technique to learn. You can use it on any Mac, Linux or Unix computer, this method is exactly the same. It is also very low bandwidth, with screen sharing your are sending a lot of data, this technique sends text. Text has a very low data rate, as a result can run on a dial up connection. This sort of process can be used to administer a server over a home network, or to make sure a remote Mac (such as your Grandparents) is still operating fine.
There is a lot more topics on how to use SSH on your Mac. I recommend search the internet for how to find out more, if you are interested on using this technique more.
If you want to keep up with the latests post from Mac Tricks And Tips I recommend you subscribe to the RSS Feed.
![]() Related posts:![]() Where To Next?Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |