longfileLength=StrToLong(mess店);//else

Casual Outfit of the day
Ft. long leopard top ( bohemian OOTD) & Giveaway
My Current Favorite Organic Products - Healthy and Organic Skin Care Products
Hi everyone, so this is another OOTD for you guys. I am wearing a black batwing top with leopard print. It's from Piink Truffles Boutique. I would not say it has a great quality, but it's pretty comparable to the wet seal or forever 21. This is one of those pieces that you get more for the style not the quality. The necklace is also sent to me by lilly, the owner of piink truffles boutique. I love the length of the chain and also the style. It has a cute leopard head with rhinestones, isn't that the most adorable design ever? The chain itself is pretty light but feels durable.
My outfit:
Black Leopard print batwing top - Piink Truffles Boutique
Long Chain Necklace with Leopard Head - Piink Truffles Boutique
Long stripes skirt - Nordstrom
Peach crochet sweater with faux fur collar- Forever 21
Snake Print high heels - China
For more pictures, check out my blog post:
/2012/01/casual-outfit-of-day-ft-long-leopard.html
Ok, so the owner of the boutique is so sweet that she is willing to giveaway one item (under $25) to one of my lucky subbies.
(check out her youtube channel:/PiinkTruffles )
Have you entered the jewelry cleaner "clean my bling" giveaway yet?
/watch?v=UNGNTisyfxc&feature=relmfu
Contest ends on Feb. 4 at 12:00pm PST (opens internationally)
1.Be a subscriber:
/PandorasPalette
2.Like the piink truffles boutique facebook page: /ment on the wall and pick out one item you like the most in her boutique that's under $25. Don't forget to tag #CeCe
That's it. Good Luck everyone!
?Contact Information:
? Follow me on Twitter:
/pandoraspalette
? My Official Facebook Fan Page:
/pages/CeCes-Castle/438?v=wall
? Subscribe for more tutorials and fashion videos:
/user/PandorasPalette
? My Beauty&Fashion Blog:
?Lioele makeup
http://www.liliesshop.net
?5% off coupon code: CeCe
★For quality, affordable makeup brushes, please visit Sigma:
/?Click=61096
★For designer sales and bargains, please check out Hautelook:
/short/3ATs8
PandorasPalette pandoras palette "outfit of the day" "casual OOTD" "bohemian OOTD" free style "leopard print top" "batwing top" "faux fur collar sweater" Nordstrom Forever 21 "piink truffles boutique" style fashion "winter fashion" "animal print" dress skirt long stripe skirt "snake skin print high heels" "nordstrom fashion" "crochet sweater" "leopard head necklace" "giveaway"
Related Videos
in Howto & Style
Being Watched Now
in Howto & Style
in Howto & Style
Recently Added
in Howto & Style
In Case You Missed ItStack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
I try to push changes from my local repo to a remote repo. When I type:
git push origin
I get the following error:
The server's host key is not cached in the registry. You
have no guarantee that the server is the computer you
think it is.
The server's rsa2 key fingerprint is:
ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
Connection abandoned.
fatal: The remote end hung up unexpectedly
How can I solve this? I'm using git from the command line in Windows 7.
When I try to do a simple ssh
ssh user@hostname
I get the following error:
Could not create directory '/c//%HOMEDRIVE%%HOMEPATH%/.ssh'.
percent_expand: unknown key %H
Somehow it will not create the directory, because the path is invalid. How to fix this?
@eckes: Edit2
My Home is set to %HOMEDRIVE%%HOMEPATH% is this correct?
3,45452856
The message means that the host key of origin is not present in your trusted hosts file.
To get around this, open a plain SSH connection to origin and SSH will ask you if you want to trust the remote host (from the Git console):
$ ssh 127.0.0.1
The authenticity of host '127.0.0.1 (127.0.0.1)' can't be established.
RSA key fingerprint is &FINGERPRINT&.
Are you sure you want to continue connecting (yes/no)?
If you trust the remote host (i.e. type yes), SSH will enter it's key to the list of known hosts.
After that, you should be able to do your git push origin.
As an alternative, you could also manually add the key of origin to .ssh/known_hosts but this requires that you adhere to the format of the known_hosts file as described in the man page of
(Section AUTHORIZED_KEYS FILE FORMAT).
19.8k661114
For those of you who are setting up MSYS Git on Windows using PuTTY via the standard command prompt, the way to add a host to PuTTY's cache is to run
& plink.exe &host&
For example:
The server's host key is not cached in the registry. You
have no guarantee that the server is the computer you
think it is.
The server's rsa2 key fingerprint is:
ssh-rsa 2048 2e:db:b6:22:f7:bd:48:f6:da:72:bf:59:d7:75:d7:4e
If you trust this host, enter "y" to add the key to
PuTTY's cache and carry on connecting.
If you want to carry on connecting just once, without
adding the key to the cache, enter "n".
If you do not trust this host, press Return to abandon the
connection.
Store key in cache? (y/n)
Just answer y, and then Ctrl+C the rest.
Do check the fingerprint though. This warning is there for a good reason. Fingerprints for some git services (please edit to add more):
Bitbucket:
Gitorious:
CodebaseHQ:
38.7k86083
19.3k11110190
Try doing a "set | grep -i ssh" from the Git Bash prompt
If your setup is like mine you probably have these set:
GIT_SSH='C:\Program Files (x86)\PuTTY\plink.exe'
PLINK_PROTOCOL=ssh
SVN_SSH='"C:\\Program Files (x86)\\PuTTY\\plink.exe"'
unset GIT_SSH
unset PLINK_PROTOCOL
unset GIT_SVN
and it worked after that,.. I guess putty saves its keys somewhere else as $HOME/.ssh or something... (I've also had a problem on a box where $HOME was set to "C:\Users\usrnam" instead of "/C/Users/usrnam/"
anyway, your mileage may vary, but that fixed it for me. :-)
(probably just doing the unset GIT_SSH is enough, but I was on a roll)
I suspect that your GIT_SSH environment variable is set to %ProgramFiles(x86)%\putty\plink.exe.
For some reason, PLink does not use the .ssh/known_hosts file in your user directory to store the remote hosts keys.
If this is actually your case, and it might be so on purpose if you want to use pageant, you need to use PLink to connect to the host first.
"$GIT_SSH" user@hostname
You should get a similar message
The server's host key is not cached in the registry. You
have no guarantee that the server is the computer you
think it is.
The server's rsa2 key fingerprint is:
ssh-rsa b:1b:12:85:35:8a:b7:98:b6:d2:97:5e:96:58:1d
If you trust this host, enter "y" to add the key to
PuTTY's cache and carry on connecting.
If you want to carry on connecting just once, without
adding the key to the cache, enter "n".
If you do not trust this host, press Return to abandon the
connection.
Store key in cache? (y/n)
Once you have answered y to the question and successfully connected to the remote host, you should be all set. Go ahead and try your push again.
Just ssh'ing to the host is not enough, on Windows at least. That adds the host key to ssh/known_hosts but the error still persists.
You need to close the git bash window and open a new one. Then the registry cache is cleared and the push/pull then works.
6,55642138
Had the same issue, and forget to connect to SSH on port where is actuall repository, not just general SSH port, then the host key is different!
Rene, your HOME variable isn't set correctly. Either change it to c:\Users\(your-username) or just to %USERNAME%.
45.7k14102150
Solution with Plink
to known_hosts.py:
#! /usr/bin/env python
# Convert OpenSSH known_hosts and known_hosts2 files to "new format" PuTTY
# host keys.
kh2reg.py [ --win ] known_hosts1 2 3 4 ... & hosts.reg
Creates a Windows .REG file (double-click to install).
kh2reg.py --unix
known_hosts1 2 3 4 ... & sshhostkeys
Creates data suitable for storing in ~/.putty/sshhostkeys (Unix).
# Line endings are someone else's problem as is traditional.
# Developed for Python 1.5.2.
import fileinput
import base64
import struct
import string
import sys
import getopt
def winmungestr(s):
"Duplicate of PuTTY's mungestr() in winstore.c:1.10 for Registry keys"
candot = 0
for c in s:
if c in ' \*?%~' or ord(c)&ord(' ') or (c == '.' and not candot):
r = r + ("%%%02X" % ord(c))
candot = 1
def strtolong(s):
"Convert arbitrary-length big-endian binary data to a Python long"
bytes = struct.unpack("&%luB" % len(s), s)
return reduce ((lambda a, b: (long(a) && 8) + long(b)), bytes)
def longtohex(n):
"""Convert long int to lower-case hex.
Ick, Python (at least in 1.5.2) doesn't appear to have a way to
turn a long int into an unadorned hex string -- % gets upset if the
number is too big, and raw hex() uses uppercase (sometimes), and
adds unwanted "0x...L" around it."""
plain=string.lower(re.match(r"0x([0-9A-Fa-f]*)l?$", hex(n), re.I).group(1))
return "0x" + plain
output_type = 'windows'
optlist, args = getopt.getopt(sys.argv[1:], '', [ 'win', 'unix' ])
if filter(lambda x: x[0] == '--unix', optlist):
output_type = 'unix'
except getopt.error, e:
sys.stderr.write(str(e) + "\n")
sys.exit(1)
if output_type == 'windows':
# Output REG file header.
sys.stdout.write("""REGEDIT4
[HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\SshHostKeys]
# Now process all known_hosts input.
for line in fileinput.input(args):
# Remove leading/trailing whitespace (should zap CR and LF)
line = string.strip (line)
# Skip blanks and comments
if line == '' or line[0] == '#':
raise "Skipping input line"
# Split line on spaces.
fields = string.split (line, ' ')
# Common fields
hostpat = fields[0]
magicnumbers = []
# placeholder
keytype = ""
# placeholder
# Grotty heuristic to distinguish known_hosts from known_hosts2:
# is second field entirely decimal digits?
if re.match (r"\d*$", fields[1]):
# Treat as SSH-1-type host key.
# Format: hostpat bits10 exp10 mod10 comment...
# (PuTTY doesn't store the number of bits.)
magicnumbers = map (long, fields[2:4])
keytype = "rsa"
# Treat as SSH-2-type host key.
# Format: hostpat keytype keyblob64 comment...
sshkeytype, blob = fields[1], base64.decodestring (fields[2])
# 'blob' consists of a number of
N (big-endian)
field_data
subfields = []
while blob:
sizefmt = "&L"
(size,) = struct.unpack (sizefmt, blob[0:4])
size = int(size)
# req'd for slicage
(data,) = struct.unpack ("&%lus" % size, blob[4:size+4])
subfields.append(data)
blob = blob [struct.calcsize(sizefmt) + size : ]
# The first field is keytype again, and the rest we can treat as
# an opaque list of bignums (same numbers and order as stored
# by PuTTY). (currently embedded keytype is ignored entirely)
magicnumbers = map (strtolong, subfields[1:])
# Translate key type into something PuTTY can use.
sshkeytype == "ssh-rsa":
keytype = "rsa2"
elif sshkeytype == "ssh-dss":
keytype = "dss"
raise "Unknown SSH key type", sshkeytype
# Now print out one line per host pattern, discarding wildcards.
for host in string.split (hostpat, ','):
if re.search (r"[*?!]", host):
sys.stderr.write("Skipping wildcard host pattern '%s'\n"
elif re.match (r"\|", host):
sys.stderr.write("Skipping hashed hostname '%s'\n" % host)
m = re.match (r"\[([^]]*)\]:(\d*)$", host)
(host, port) = m.group(1,2)
port = int(port)
# Slightly bizarre output key format: 'type@port:hostname'
# XXX: does PuTTY do anything useful with literal IP[v4]s?
key = keytype + ("@%d:%s" % (port, host))
value = string.join (map (longtohex, magicnumbers), ',')
if output_type == 'unix':
# Unix format.
sys.stdout.write('%s %s\n' % (key, value))
# Windows format.
# XXX: worry about double quotes?
sys.stdout.write("\"%s\"=\"%s\"\n"
% (winmungestr(key), value))
except "Unknown SSH key type", k:
sys.stderr.write("Unknown SSH key type '%s', skipping\n" % k)
except "Skipping input line":
Tested on Win7x64 and .
ssh-keyscan -t rsa bitbucket.org &&~/.ssh/known_hosts
python --win known_hosts.py &known_hosts.reg
start known_hosts.reg
And choose to import into the registry. The keyscan will retrieve the public key for the domain (I had my problems with bitbucket), and then the python script will convert it to Plink format.
I too had the same issue when I was trying to clone a repository on my Windows 7 machine. I tried most of the answers mentioned here. None of them worked for me.
What worked for me was, running the Pageant (Putty authentication agent) program. Once the Pageant was running in the background I was able to clone, push & pull from/to the repository. This worked for me, may be because I've setup my public key such that whenever it is used for the first time a password is required & the Pageant starts up.
Just open Putty and try to establish connection to remote server you want to push your code.
when the dialog appears press Yes(you trust remote) then everything would be OK.
Your Answer
Sign up or
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
Post as a guest
Post as a guest
By posting your answer, you agree to the
Not the answer you're looking for?
Browse other questions tagged
Stack Overflow works best with JavaScript enabled局域网文件传输和聊天系统_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
评价文档:
22页1下载券29页1下载券11页2下载券4页免费3页1下载券3页免费3页1下载券46页1下载券15页1下载券23页1下载券
喜欢此文档的还喜欢92页2下载券29页5下载券6页1下载券
局域网文件传输和聊天系统|计​算​机​网​络​课​程​设​计
把文档贴到Blog、BBS或个人站等:
普通尺寸(450*500pix)
较大尺寸(630*500pix)
你可能喜欢}

我要回帖

更多关于 mess店 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信