Closed fenris closed 10 years ago
hmm..ive added some modification on my github to be able to login as a different user: http://github.com/cocoy/mr.awsome/commit/cfcce3865437ff0e1ad6a1d0ea990755aa5f3884
ok thanks .. so should i get the latest code n rebuild back ?
if you did git clone and editted the file(s), just do python setup.py develop to work on your copy. Your changes will reflect on it.
ok thanks .. done but i having this warning even the codes work for me
/Library/Python/2.6/site-packages/pycrypto-2.0.1-py2.6-macosx-10.6-universal.egg/Crypto/Hash/SHA.py:6: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import warnings /Library/Python/2.6/site-packages/pycrypto-2.0.1-py2.6-macosx-10.6-universal.egg/Crypto/Hash/MD5.py:6: DeprecationWarning: the md5 module is deprecated; use hashlib instead import warnings
Upgrade to pycrypto 2.3. remove the old version first with pip uninstall pycrypto and do pip install pycrypto. Though there is another warning that will appear...about randpool.py, RandomPool_DeprecationWarning. :)
$ sudo port uninstall py26-crypto @2.0.1_1 ---> Unable to uninstall py26-crypto 2.0.1_1, the following ports depend on it: ---> py26-paramiko ---> bzr Error: port uninstall failed: Please uninstall the ports that depend on py26-crypto first.
hmm.. :) i think it's better to use virtualenv and install needed packages for python project. That way, it would not break the OS packages. what do you think?
i already dload the pycrypto 2.3 n install it .. but how to use pip install pycrypto?
if you dont have pip installed you can do easy_install pip
$ sudo pip-2.6 install upgrade pycrypto Downloading/unpacking upgrade Could not find any downloads that satisfy the requirement upgrade No distributions at all found for upgrade
The user
option is used to set the default user.
No idea about pycrypto.
if we see inside aws.conf , server_user = ubuntu
but when i run the : aws ssh demo-webserver its say please use users rather than root ... im not sure is it a problem/bugs that u guys should look into it ..
btw ... mr.awsome is REALLY AWESOME !! :)